RE: [PHP] Strange errors when PHP script called from CRON
| From: | Jay Blanchard | Date: | Wed, 22 Sep 2004 19:10:54 +0000 |
| Subject: | RE: [PHP] Strange errors when PHP script called from CRON | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-197599@lists.php.net to get a copy of this message | ||
[snip]
Does anyone have any idea why I might be getting these errors? The code
above, to me at least, doesn't look like it should be throwing parse
errors.
The script which is called by my crontab to start this process executes
every minute, so I find it very strange that I'm getting these sporadic
error messages.
Can any one shed any light on this for me?
[/snip]
Perhaps. Could the data being utilized by the code occasionally have
characters that should be escaped, by aren't? Are you escaping all of
the escapable characters, especially quotes, both single and double?