Re: [PHP] $_SERVER[PATH_TRANSLATED] returns empty string

2002-12-20 Thread Robert Nedbal
On Wed, 18 Dec 2002, Chris Hewitt wrote: Robert Nedbal wrote: So should I try to use apache 1.x instead of apache2? Pass on that, I have no experience of Apache 2, but I do not think it is intended for production yet. Looking at phpinfo() on my computer here (GNU/Linux RedHat 7.3 PHP 4.1.2

[PHP] $_SERVER[PATH_TRANSLATED] returns empty string

2002-12-18 Thread Robert Nedbal
) OS: RedHat Linux 8.0 Apache: httpd-2.0.40-11 PHP: php-4.2.2-8.0.5 (recompiled from source) Any ideas how to fix this? Best regards, Robert PS: When replaying please CC me as I'm not subscribed to this list, thanks. -- Robert

Re: [PHP] $_SERVER[PATH_TRANSLATED] returns empty string

2002-12-18 Thread Robert Nedbal
On Wed, 18 Dec 2002, Wico de Leeuw wrote: Maybe basename($_SERVER['SCRIPT_NAME']); At 14:10 18-12-02 +0100, Robert Nedbal wrote: Hi, I'm having problems with my PHP installation. When I try to get real path to my script by using $_SERVER[PATH_TRANSLATED], I receive empty string. $_SERVER

Re: [PHP] $_SERVER[PATH_TRANSLATED] returns empty string

2002-12-18 Thread Robert Nedbal
On Wed, 18 Dec 2002, Chris Hewitt wrote: Robert Nedbal wrote: Hi, thanks for your reply. But changing source code in my setup is not a long term option. My problem is that $_SERVER[PATH_TRANSLATED] gives me empty string. Does anybody know how to fix my PHP installation, so $_SERVER