general php list?

From: Date: Mon, 13 Nov 2000 05:05:00 +0000
Subject: general php list?
Groups: php.db 
Request: Send a blank email to php-db+get-4388@lists.php.net to get a copy of this message
Can someone let me know, what happened to the PHP-general list? Hopefully, someone can forward me to the right place for my question. Thanks a lot, dk -- The issue: Although this works from the command line, I am not able to get the mail content when I pipe the mail to this script using my sendmail aliases. On the other hand, the same method works fine with a simple cgi-script! Examples: ------------- my PHP script ----------------- #!/usr/local/bin/php -q <? // $fp = fopen("php://stdin", "r"); $fp = fopen("/dev/stdin", "r"); // for older PHP versions while(($buf=fgets($fp, 512)) != false) { $content .= $buf; } // now the whole mail should be in $content // ... process and save content... ?> --------- my CGI script ---------------------- #!/bin/sh # # read stdin while read LINE do FROM=${LINE} break done # now $FROM contains the sender emailaddress... # ...

« previous php.db (#4388) next »