Sascha Meyer wrote:

> Hi Jay,
>
> that's exactly what I need to accomplish (as I mentioned: I wanted to download the file to the webserver - which means saving the file locally, cause that's where the script resides - and then send it to the email recipient).
>
> I need to find a way to download the file itself, the rest is - as I said before - fairly simple (attaching the file to a mail will be handled by the Mail class).
>
> Anyway, thanks for your time!
>
If the remote file has a URL eg. http://foo.com/bar.pdf you can simply open it using fopen()


HTH,
Oliver Hankeln

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to