[PHP] Reading unusual stdin

2002-03-04 Thread Ken Tossell
How would you read a multi-line stdin in php? The scripts I see all break after one line. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Using php as a backend bridge between smtp and mysql

2002-03-04 Thread Ken Tossell
I got the sendmail part to work, but how do you process a pipe? I just need the variable name of yyy in "echo yyy | proc-mail.php" On 3/4/02 5:05 PM, "David Robley" <[EMAIL PROTECTED]> wrote: > In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... >> Hi, >> I need to have php called from se

[PHP] Pipe

2002-03-03 Thread Ken Tossell
What var is the piped data placed in? Php 4.1 executable rhlinux 2.4.17 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Using php as a backend bridge between smtp and mysql

2002-03-03 Thread Ken Tossell
Hi, I need to have php called from sendmail. I have set up an address to be aliased to "|/usr/local/bin/proc-mail" but I get an error saying "service unavailable". All permissions correct. See php code below. This is just a test mechanism, right now, to send the email to a mysql database for a fr

[PHP] Using php as a backend bridge between smtp and mysql

2002-03-03 Thread Ken Tossell
Hi, I need to have php called from sendmail. I have set up an address to be aliased to "|/usr/local/bin/proc-mail" but I get an error saying "service unavailable". All permissions correct. See php code below. This is just a test mechanism, right now, to send the email to a mysql database for a fr