Re: PHP_SELF
| From: | Jeffrey_N_Dyke at Keane dot com | Date: | Mon, 06 Jan 2003 12:57:48 +0000 |
| Subject: | Re: PHP_SELF | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-9570@lists.php.net to get a copy of this message | ||
if you are using a version of php later then 4.1, try $_SERVER['PHP_SELF'].
hth
jeff
"Eugene Wolff"
<eugenew@htm.c To: <php-install@lists.php.net>
o.za> cc:
Subject: [PHP-INST] PHP_SELF
01/06/2003
07:48 AM
Hi,
I am very new to php. I have installed and done some simple scripts for
eg. Display 'Hello World', read entries from a database but when I try
and put something into a database I get problems. I use $PHP_SELF in
the script but when I open it I get the following error:-
Notice: Undefined variable: PHP_SELF in
c:\inetpub\wwwroot\phptest5.php on line 9
I think it might have to do something with my installation. I am
running the cgi version.
Thanks,
Eugene