HI guys,
here's a simplified version of my problem:
I have a file called start.php and this is its content:
<?php
print "Running...";
exec("C:/php/php.exe try.php > C:/log/junk.txt");
print "Done.";
?>
I have another file called try.php and this is its content:
<?php
print "Hello World!!";
?>
when I open start.php in the web browser the ouput is :
"Running...Done. " which is fine...but shockinly when I open junk.txt, the content is also "Running...Done" when it should be
"Hello World"
I would reaaaaaaally appreciate your help...just tell me what you think and I'll try it
Thank you