.net is MicroSoft, PHP is not. That make the choice clear for most. I do not know .net nor care to research it farther, but since you know a little of both, which is most supported in online forums? Which would you most likely get the best assistance should you need help?
People care enough...
vacunita: It is unlikely that a person would travel to another country just to access a website, but I get your point. A person could very easily use a proxy ip from an authorized country and visit a website if her country is blocked.
I don't know why the OP wants to restrict IP's from certain...
If I have $url set to:
$url = "http://redirecttohere.com/index.php";
Which is the proper way to write the header() line?
Header ("Location: " . $url);
Header("Location: $url");
I made a Web page with different color tables to use as for a guide in resizing my browsers windows. This is so I can see how pages I am working on will appear with different screen resolution settings.
http://www.sam.zoomcities.com/share/screen_resize.html
Of course I make my final tests by...
Many times when I print code there are a lot of lines that I have hidden(minimized) because I don't need to see them. Is there a way I can print out what I am seeing on the screen, in other words, the visible lines and the minimized lines shown as I see them?
A value is assign to $TableName outside of the query. My script is working now. This link.
I had not included my mysqli_query() statement inside the brackets with the for loop.
Thanks for the replies.
Thank you kaptlid. I had a major problem in my radio button input lines by leaving out the = for values'1', etc.
Now the values are being properly passed and I can tell by the echo statement I included for testing. I need to improve my query statement because it is not UPDATEing the table...
I have removed extra code from the input form I posted here. There are three sets of radio buttons each set has the unique name as shown. Because the input buttons I posted are checked they have the indicated value. This information is submitted to the process form by the submit button.
<form...
What I want to do is pull off the file extension of a file. This works most of the time, but not if a file has more than one period.
$filename_ext = strchr($filename, ".");
How can I get the extension of a file like:
$filename = "this.has.more.than.one.period.ext";
Sam
;
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.