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?
> >
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
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, p
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:
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?
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
O
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?)
$_SERVE
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?)
$_SERVER["PHP_SELF"] works as expected (ok)
$_SERVER["DOCUMENT_ROOT"]works as expect
8 matches
Mail list logo