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
Is $_SERVER[SCRIPT_FILENAME] the information you need? (on apache
2.0, php 4.2.2)
Kind regards,
Dries Verachtert
On Fri, 2002-12-20 at 15:40, Robert Nedbal wrote:
On Wed, 18 Dec 2002, Chris Hewitt wrote:
Robert Nedbal wrote:
So should I try to use apache 1.x instead of apache2?
Pass
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[PATH_TRANSLATED] empty string (why?)
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[PATH_TRANSLATED] will give me correct file path?
Best regards,
Robert
On
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[PATH_TRANSLATED] will give me correct file path?
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
Robert Nedbal wrote:
Are you implying that it used to work on another computer, or before an
upgrade? If so, can you compare the php.ini files? Otherwise maybe its a
bug (php with Apache2 I don't think is stable yet).
HTH
Chris
Yes exactly, it's working on our production server (apache 1.x,
7 matches
Mail list logo