...

View Full Version : posting a form to itself



misterx
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.

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

or just $PHP_SELF for PHP<4.1



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum