Posted by J.O. Aho on 02/13/06 18:04
MS wrote:
> Am I looking at the correct command? or is there a better one?
>
> and what would be the correct format for this function?
>
> exec(thumb.php);
exec('php /path/to/thumb.php');
This won't run the process in background, but php will wait for the result.
You could try with
shell_exec('php /path/to/thumb.php &');
but not sure it will detach the the process from the php thread.
> how do I force returned data to a file? as per note on php.net
I would suggest you let the thumb.php handle the output to the file itself,
for files, take a look at http://www.php.net/manual/en/function.file.php
//Aho
Navigation:
[Reply to this message]
|