Re: install error?..bug??
| From: | Howard | Date: | Thu, 17 Oct 2002 19:18:10 +0000 |
| Subject: | Re: install error?..bug?? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-120385@lists.php.net to get a copy of this message | ||
Thanks Jason. I've been chasing this error for over a week with no luck.
You have me headed in teh right direction. thanks for your time and help
Howard
"Jason Wong" <php-general@gremlins.com.hk> wrote in message
news:200210180314.54518.php-general@gremlins.com.hk...
> On Friday 18 October 2002 02:32, Howard Gillison wrote:
>
> > and that works. that would tell me that my application is losing
"context"
> > of it's location (working directory) as it is running. the original
code
> > says:
> > "./file.name"
> > and that file.name file is sitting in the SAME directory where the PHP
> > script is running.
>
> I tested on the CGI/CLI version of php using relative paths (and even no
> path), and also using Apache + php module and it works in both. So maybe
it's
> your webserver?
>
> > So, with that information, is there some nifty setting in the php.ini
file
> > or soemthing that I can do so that Iplanet server doesn't lose the
context
> > (or PHP doesn't lose the context) of hte working directory??
>
> > hints??
>
> You can try using $_SERVER['DOCUMENT_ROOT'] which should (if set by your
> webserver) give the full system path of wherever the script is residing.
>
>
> --
> Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
> Open Source Software Systems Integrators
> * Web Design & Hosting * Internet & Intranet Applications Development *
>
> /*
> It's amazing how many people you could be friends with if only they'd
> make the first approach.
> */
>