[PHP] (PHP) $_SERVER['PATH_TRANSLATED']
Hi friends, on my box (w2k, apache2.0.40) the phpinfo(); doesn't show the above. I need this for the package moregroupware, which makes use of $_SERVER['PATH_TRANSLATED']. How to set this or how to change anything to get this? Thanks in advance -- fritzek -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] $_SERVER content
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? Or where and how can I configure my system to see the above? thanks in advance Fritz -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] $_SERVER content
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). "Marek Kilimajer" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > 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 and HTTP_REFERER. > >someone knows how to get a consitent content of $_SERVER? Or where and how > >can I configure my > >system to see the above? > > > >thanks in advance > > > >Fritz > > > > > > > > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] $_SERVER content
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 PROTECTED]">news:[EMAIL PROTECTED]... > 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. > > someone knows how to get a consitent content of $_SERVER? Or where and how > > can I configure my > > system to see the above? > > The contents of $_SERVER is provided by the webserver and hence the > differences between versions and platforms. There's nothing that you can do > about it. > > -- > Jason Wong -> Gremlins Associates -> www.gremlins.biz > Open Source Software Systems Integrators > * Web Design & Hosting * Internet & Intranet Applications Development * > > /* > Pardon me, but do you know what it means to be TRULY ONE with your BOOTH! > */ > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php