On Tue, 19 Feb 2002 09:50, Narvaez, Teresa did align ASCII characters thusly: > When I execute the code below, why is PHP_SELF undefined? I will appretiate > any help on this. I can get its value by: > echo $_SERVER["PHP_SELF"]; Thanks in advance! -Teresa > > > <HTML> > <HEAD> > <TITLE>Feedback</TITLE> > </HEAD> > <BODY> > <? > $form_block = " > <FORM method=\"POST\" action=\"$PHP_SELF\"> > <P>Your Name:<br> > > <INPUT type=\"text\" name=\"sender_name\" size=30></p> > <P>Your E-Mail Address:<br> > <INPUT type=\"text\" name=\"sender_email\" size=30></p> > > <P>Your Message:<br> > <textarea name=\"message\" cols=30 rows=5></textarea> > </p> > > <P><INPUT type=\"submit\" value=\"Send This Form\"></p> > > </FORM> > > "; > > ?>
I don't know whether this is of any help to you or not, but this works perfectly on my system. I suspected it would as I saw nothing wrong, per se, with the code. Cheers, Brad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php