Re: [exim] Saving and/or processing attachments

Top Page
Delete this message
Reply to this message
Author: Aurelin
Date:  
To: exim-users
Subject: Re: [exim] Saving and/or processing attachments
> The content of the email is delivered over the "standard input" (stdin)
> of the process; the name "pipe" is because this is the normal Unix
> terminology for connecting together commands in a pipeline.
>
> You're crossing from the web-programming world into the Unix programming
> world here, and encountering confusion from others because they've dealt
> with pipes for so long that they don't understand a programming model
> which doesn't deal with pipes routinely.
>
> Using Google to search for (Unix pipes for PHP programmers) suggests
> this Stack Overflow article:
>
>
> http://stackoverflow.com/questions/5891888/piping-data-into-command-line-php
>
> and the answers suggest that you're after a `php://stdin` URL for
> accessing the data stream.
>
> -Phil


Hey Phil,

Yeah it occurred to me a bit after posting to the mailing list that
it's probably getting there through STDIN.

Now I am only wondering whether PHP is the best choice for this kind
of task though, or if Perl would be a better choice at all.

Thanks to all for your help. That really solved my issue quickly.