[snip] I've written a batch file that sits in the same dir as the PHP script and when I exec it, it doesn't work! I've thouroghly thrashed the batch file for errors and it came up ok every time. if I echo the exec it only returns the first line of the batch file. [/snip]
I have found that even though the batch, shell, or other procedural call in an exec(), system(), sits in the same directory as the PHP script you must include the /full/path/to/the/script in order for it to work properly. HTH! Jay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php