Re: A Strange Problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Bastien Koert

On 2013-06-20, at 1:57 PM, Tedd Sperling <tedd@xxxxxxxxxxxx> wrote:

> On Jun 20, 2013, at 1:44 PM, Bastien <phpster@xxxxxxxxx> wrote:
>> 
>> It sounds like a current working directory issue. Try running a getcwd() in both places to see how they are set
>> 
>> Bastien
> 
> I think you have something, here's the reports:
> 
> Works:
> 
>    /home/content/64/<cut>/html/sdi/tedd/php-mail
> 
> Does NOT work:
> 
>    /home/content/64/<cut>/html/sdi
> 
> The one that does not work should be:
> 
>   /home/content/64/<cut>/html/sdi/includes/
> 
> How do I fix it?
> 
> Cheers,
> 
> tedd
> 
> PS: All <cut>'s were identical.
> 
> 
> _____________________
> tedd@xxxxxxxxxxxx
> http://sperling.com

Chdir() could work. 

The interesting thing is to see why the two calls start in diff directories.

Thanks ,

Bastien
-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php






[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux