Re: A Strange Problem
| From: | Bastien | Date: | Thu, 20 Jun 2013 18:16:06 +0000 |
| Subject: | Re: A Strange Problem | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-321434@lists.php.net to get a copy of this message | ||
Bastien Koert
On 2013-06-20, at 1:57 PM, Tedd Sperling <tedd@sperling.com> wrote:
> On Jun 20, 2013, at 1:44 PM, Bastien <phpster@gmail.com> 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@sperling.com
> http://sperling.com
Chdir() could work.
The interesting thing is to see why the two calls start in diff directories.
Thanks ,
Bastien