On Wed, Sep 28, 2011 at 10:52 AM, Jim Lucas <li...@cmsws.com> wrote: > On 9/28/2011 12:07 AM, Anton Heuschen wrote: >> $command = '/usr/bin/php -f /var/www/details/Write.php '.$email.' >> '.$actionDate.' '.$files.' >> php.log'; >> system($command,$return); > > At this point I would suggest that you echo $command before trying to execute > it. > > I think you might find that you are trying to pass characters that the cli are > miss interpreting.
OP: Look at http://us2.php.net/manual/en/function.escapeshellarg.php and http://us2.php.net/manual/en/function.escapeshellcmd.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php