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?
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
;
I searched but could not find this. Also I mistakenly posted this first in the PHP forum and can't delete it.
What is the syntax to rename a table column in a MySql database? I am trying this but it is not right.
ALTER table
CHANGE oldcolumn_name
newcolumn_name
CHAR(30)
How can I remove extra periods from a file name? There could be two or more periods in a file that someone uploads and I want to keep only the last one before the file extention. What I have removes all periods, but I want to check to see if there are more than one and then only keep the last one.
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.