hi > It is the stdin of the script, you can open that file handle with fopen( > "stdin", "r" ); i believe i also thought so, but there is a big problem: the script runs in an infinite loop... :( that's my piece of code: $message=''; $input=fopen('php://stdin', 'r'); while(!feof($input)) $message.=fgets($input, 4096); fclose($input);
...but the condition in the while loop never gets true... :( so what can i do? Thanks in advance Marco Weber -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php