Has cli php changed recently? I've got a php script (script1) that creates a php script (script2) by opening a file and then writing to it. When I try to run it from the command line script1 is simply copied to stdout. When I run it from the browser it works as expected. The directory has 777 permissions so that should not be the problem. Any ideas? -- "Whatever the immediate gains and losses, the dangers to our safety arising from political suppression are always greater than the dangers to that safety resulting from political freedom. Suppression is always foolish. Freedom is always wise." -- Alexander Meiklejohn, 1955 Rick Pasotto rick@xxxxxxxx http://www.niof.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php