[Xitami] xitami - php (PHP_SELF)

Craig Morrison xitami@lists.xitami.org
Tue, 29 Jan 2002 09:27:36 -0500


Wolfgang Schneider wrote:
> 
> When running the phpinfo() to get all the values for the system
> variables etc ... the PHP_SELF variable is blank/empty .... it should
> normally return the URL of the webpage from where you call the
> phpinfo () function or the variable itself.

Known problem when running PHP as a CGI process, use _SERVER["SCRIPT_NAME"].

-- 

Craig Morrison
  http://www.mtsprofessional.com/
  A Win32 Email server that works for you.