[PHP] $_SERVER content

2003-01-08 Thread Fritzek
Hi folks, I've seen a lot phpinfo() on different platforms, different PHP versions with different web servers. Always the content of $_SERVER is different. i.e PHP4.3.0 on win32 with Apache2 doesn't show PATH_TRANSLATED and HTTP_REFERER. someone knows how to get a consitent content of $_SERVER?

Re: [PHP] $_SERVER content

2003-01-08 Thread Jason Wong
On Wednesday 08 January 2003 19:00, Fritzek wrote: Hi folks, I've seen a lot phpinfo() on different platforms, different PHP versions with different web servers. Always the content of $_SERVER is different. i.e PHP4.3.0 on win32 with Apache2 doesn't show PATH_TRANSLATED and HTTP_REFERER.

Re: [PHP] $_SERVER content

2003-01-08 Thread Fritzek
Hmmm. What does it mean? Is PHP deciding at runtime which variable in $_SERVER have to be filled? PATH_TRANSLATED should always be filled because you always have a path where your script is located. Also HTTP_REFERER because in easiest case you refering on the same script at localhost (I guess).

Re: [PHP] $_SERVER content

2003-01-08 Thread Fritzek
but there must be a way which causes differences. I've searched the net and found a page which shows phpinfo(); and this was the same versions of php, webserver and os and the PATH_TRANSLATED was setted, but not on my server. Jason Wong [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL

Re: [PHP] $_SERVER content

2003-01-08 Thread Rick Widmer
At 12:00 PM 1/8/03 +0100, Fritzek wrote: Hi folks, I've seen a lot phpinfo() on different platforms, different PHP versions with different web servers. Always the content of $_SERVER is different. i.e PHP4.3.0 on win32 with Apache2 doesn't show PATH_TRANSLATED and HTTP_REFERER. someone knows

Re: [PHP] $_SERVER content

2003-01-08 Thread Marek Kilimajer
You did not see HTTP_REFERER likely because there was none Fritzek wrote: Hi folks, I've seen a lot phpinfo() on different platforms, different PHP versions with different web servers. Always the content of $_SERVER is different. i.e PHP4.3.0 on win32 with Apache2 doesn't show PATH_TRANSLATED

Re: [PHP] $_SERVER content

2003-01-08 Thread Marek Kilimajer
Fritzek wrote: Hmmm. What does it mean? Is PHP deciding at runtime which variable in $_SERVER have to be filled? PATH_TRANSLATED should always be filled because you always have a path where your script is located. Also HTTP_REFERER because in easiest case you refering on the same script at