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