View Full Version : posting a form to itself

02-02-2003, 03:08 AM
I don't remember the name of that variable that holds the name of the script which is running. You know the one that allows you to post a form to itself without actually putting in the file name? Thanks for the help.

02-02-2003, 04:28 AM
<form action="<?=$_SERVER['PHP_SELF'];?>" etc

or just $PHP_SELF for PHP<4.1