if you are using a version of php later then 4.1, try $_SERVER['PHP_SELF'].
hth jeff "Eugene Wolff" <[EMAIL PROTECTED] To: <[EMAIL PROTECTED]> 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 -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php