[Xitami] $php_self with php4
Craig Morrison
xitami@lists.xitami.org
Wed, 06 Feb 2002 15:31:52 -0500
Warren 'Llama' Ernst wrote:
>
> No, I've seen it too. For those PHP packages that I really wanted to work
> that uses $php_self, someone else figured out what the package wanted for
> this variable, and then I set it manually as a non-system variable in the
> packages configuration file, such as:
FYI, after doing a lot of research and reading numerous posts from the PHP-DEV
list.
This is not a problem that is specific to Xitami. It occurs when PHP is run as
a CGI process, which is how we use PHP with Xitami.
The solution is, as Warren pointed out, to explicity set $PHP_SELF. If the PHP
scripts are written in a modular fashion this is easy, but if they aren't it
can be a pain.
--
Craig Morrison
http://www.mtsprofessional.com/
A Win32 Email server that works for you.