|
Posted by J.O. Aho on 02/14/06 21:16
MS wrote:
>>> What you put in between the single/double quotes depends on what you want
> to
>>> do, and parameters for the console command depends which one you use, for
> more
>>> info there you will need to use the manual page: man <command>
>
>
> So... Let me get this straight.....
>
> the parameters within the () of exec() are what you would use in the PHP
> command line console?
Yes, it what you would do at your shell prompt.
eg: php phpscript.php
If you want to give a option to the command from a PHP variable, use double quotes
exec("php $scriptname");
//Aho
Navigation:
[Reply to this message]
|