Hello,

One of my PHP programs called dailybatch.php3 includes a file in its parent directory. The link is
****
include "../db_mysql.inc"
****


dailybatch.php3 is invoked from the crontab command or run from the command line in the root /www folder, gives an error indicating that "../db_mysql.inc not found". However, when you change to the folder where dailybatch.php3 is present and execute the program, there are no errors and the program executes. The include_path has "." folder in it.

What could possibly be the problem with executing the program from the /www folder?

With Regards,
Sharat

_________________________________________________________________
The MSN mobile contest! Free talktime ‘n smart phones! http://server1.msn.co.in/sp04/mobilecontest Register now to win!


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



Reply via email to