i have this coding job, where one of the aspects is to convert this perl script to php.
this perl script is executed whenever an email is sent to a certain address. it's also passed the email headers.
the only line that i can't seem to remember the php equivalent for is:
while (<STDIN>) {
push @message, $_;
}
How would you get the STDIN in PHP?