problem with PHP_SELF
| From: | DoL | Date: | Mon, 24 Jun 2002 14:42:15 +0000 |
| Subject: | problem with PHP_SELF | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-103599@lists.php.net to get a copy of this message | ||
Hi All
I would like to submit a form to call itself, and according to some
references I could use the $PHP_SELF variable in action attribute of the
form element in a HTML document
But it is not working for me, please help.
I have this line of code
<form action="<?php echo $PHP_SELF; ?>" method="POST" >
in the html source page, I get
<form action="" method="POST">
Can anyone advice what did I missed here?
Would this have anything to do with php or/and apache configuration?
Thanks
/dl