|
Posted by Erwin Moller on 12/23/05 12:08
Kimmo Laine wrote:
> "Jerry Stuckle" <jstucklex@attglobal.net> wrote in message
> news:C76dnYI4osBUwDbe4p2dnA@comcast.com...
>> charles_weaver@post.harvard.edu wrote:
>>> I have a PHP program on a Windows Server website and the following do
>>> not work:
>>>
>>> $HTTP_SERVER_VARS["PHP_SELF"], $_SERVER, $_SESSION
>>>
>>> etc. etc.
>>>
>>> Can someone explain me why?
>>>
>>> Is there something I can tell my web host to set in the php.ini file to
>>> fix this?
>>>
>>> All of this has always worked for me on Unix.
>>>
>>
>> It's probably because you're using IIS, not Apache. This can't be fixed
>> in the php.ini file. This information is supplied by Apache.
>>
>
> Bullshit! I work with PHP + IIS server. $_SESSION, $_SERVER and so on, are
> all available in php programs. The primary solution is to check the
> configuration of the server, and fix that first, and if that fails, then
> get the apache. But saying using apache is the only solution is just horse
> shit.
>
True, I have them all under IIS5/PHP-ISAPI on my W2000 machine.
Maybe not all (didn't check them all), but all I need.
I prefer Debian/apache, but hey, life is a bitch, and so am I when I can
make a dime. ;-)
Regards,
Erwin Moller
Navigation:
[Reply to this message]
|