Quote:
Originally Posted by paperino00
Hello, what does $object is for in this cron command ? will its value be usable in make.php and how ?
|
The value of $object will be inserted in to the command, and you can get to it in make.php by using
$argv. For example:
PHP Code:
<?php echo $argv[0]; // outputs what was passed to make.php
Also note that whatever $object is, it should probably be escaped if it hasn't been in the code before the
exec() line.