943,587 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 612
  • PHP RSS
Nov 26th, 2008
0

Code to download multiple downloads from site?

Expand Post »
I'm only writing this in the php section, because php is really all I know. My wife purchased a big package of downloads from a site, and now she has to go and download them all, because she only has 7 days to download them. So she has to click on a link in her email, go to the page, then click on the download link in that page.

I wish I could write a script that would peruse that email, grab all the links to the different pages, then one by one, go to each link, grab the download link, and download it. But I don't know how to do it!

Any ideas?
Similar Threads
Reputation Points: 10
Solved Threads: 0
Posting Whiz in Training
nathanpacker is offline Offline
234 posts
since May 2005
Nov 27th, 2008
0

Re: Code to download multiple downloads from site?

If you download FreeDownloadManager, you can just copy and paste the email into the program, and it will get your files.

Unless you really want to create this yourself of course. Then you need to save and open the email in php (file_get_contents). Parse the text for url's and try to get them using fopen.
Sponsor
Featured Poster
Reputation Points: 549
Solved Threads: 722
Bite my shiny metal ass!
pritaeas is offline Offline
4,156 posts
since Jul 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: trying to change the class in an if statement
Next Thread in PHP Forum Timeline: Syntax error





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC