GTrotter Posted January 25, 2008 Share Posted January 25, 2008 All I am fairly new to PHP programming but need to understand how I might go about the following. A supplier of mine has a website on which they upload a PDF document for me to view. However what I really want to be able to do is have my website read the PDF from its location on my supplier's website, attach it to an email and send it to me. Therefore can someone tell me how I might go about getting a PHP script on my website to read the PDF from a third party website, save it to the server (if need be) and then email it to myself? I do not need lots of detailed code just some outline idea of the sort of functions and approach I need to take. Obviously detailed code would not be sniffed at! Thanks Gary Quote Link to comment https://forums.phpfreaks.com/topic/87750-read-pdf-from-third-party-website/ Share on other sites More sharing options...
redbullmarky Posted January 25, 2008 Share Posted January 25, 2008 a mixture of fopen() and its associated functions to grab the file, and a decent email script with attachment support (PHPMailer is good) would probably do the trick. http://phpmailer.codeworxtech.com/ Quote Link to comment https://forums.phpfreaks.com/topic/87750-read-pdf-from-third-party-website/#findComment-448850 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.