Click to See Complete Forum and Search --> : $PHP_SELF dosn't work


Anon
04-29-2002, 10:22 AM
By submit a form method="POST" action=<? echo $PHP_SELF;?>, the browser tell me, he can't display the page. The same Page work on my ISP but not on my LAN. What's wrong ??

Thank's for Help.

Anon
04-29-2002, 11:15 AM
I have not seen the problem of using <? $PHP_SELF;?>. But if you think that it is the problem, replace it by the name of the file in which you are using $PHP_SELF.

actio = filename.php

mikesgt2
04-29-2002, 12:27 PM
how about $SCRIPT_NAME