[PHP] Using php to parse mail

2002-05-24 Thread Cedric Fontaine
Hello ! Since some months, I created a bot to parse a special email address. It means that my MTA Qmail sends the mail to a php script and this scripts make some works on it. It works great for months with php 4.0.6. Sunday, I installed php 4.2.1 mod for Apache and also on shell. And since

Re: [PHP] Using php to parse mail

2002-05-24 Thread Analysis Solutions
On Fri, May 24, 2002 at 01:57:31PM -0400, Cedric Fontaine wrote: Any clue ? What the differences between 4.0.6 and 4.2.1 makes this happens ? Are you calling environment or server variables directly? For _example_ $PATH. If so, call them using the superglobal $_SERVER['PATH']. Or

Re: [PHP] Using php to parse mail

2002-05-24 Thread Miguel Cruz
On Fri, 24 May 2002, Cedric Fontaine wrote: In fact, the script does work and does its jobs... But when Qmail delivers the mail to my script, it assumes that the mail is not successfully delivered and puts the mail in queue. But the mail is fully delivered... That means that my script

Re[2]: [PHP] Using php to parse mail

2002-05-24 Thread Cedric Fontaine
Hello ! AS Are you calling environment or server variables directly? For _example_ AS $PATH. If so, call them using the superglobal $_SERVER['PATH']. Or AS perhaps you're utilizing $argv to bring in stuff from the command line? AS Similarly, use $_SERVER['argv']. AS These chagnes are due

Re[2]: [PHP] Using php to parse mail

2002-05-24 Thread Cedric Fontaine
Hello, MC qmail uses the exit code to determine what happened to the message. Try MC ending your script with exit(99); that tells qmail that you're done with MC the message and never want to see it again. MC miguel Yep but it doesn't work anymore with a such exit(99)... But it's something

Re[2]: [PHP] Using php to parse mail

2002-05-24 Thread Miguel Cruz
On Fri, 24 May 2002, Cedric Fontaine wrote: MC qmail uses the exit code to determine what happened to the message. Try MC ending your script with exit(99); that tells qmail that you're done with MC the message and never want to see it again. MC miguel Yep but it doesn't work anymore

Re[3]: [PHP] Using php to parse mail

2002-05-24 Thread Cedric Fontaine
Hello, MC For one thing, change your php invocation to 'php -q'. Yes, I've done this, even php -q -d phpa=0 to avoid phpa messages... But same problem ! -- Cordialement, Cedricmailto:[EMAIL PROTECTED] http://www.sincever.com : Actu Music Only -- PHP General