garry Posted August 2, 2008 Share Posted August 2, 2008 Okay.. so I have a client that wants me to get information about software from download.com and add it to a database. E.g: http://www.download.com/RecordPad-Sound-Recorder/3000-2170_4-10327499.html?cdlPid=10655352 From here, I would need a script to save the information to the database about the software such as the licence, requirements, etc. I have no troubles adding information to the database but I was just wondering how you would get the information from the site itself? I have never needed to do this before and was wondering if anyone here knew how this could be done. Thanks! Link to comment https://forums.phpfreaks.com/topic/117811-saving-information-from-a-different-website/ Share on other sites More sharing options...
LemonInflux Posted August 2, 2008 Share Posted August 2, 2008 You would need regex most probably. Google it Link to comment https://forums.phpfreaks.com/topic/117811-saving-information-from-a-different-website/#findComment-605969 Share on other sites More sharing options...
garry Posted August 2, 2008 Author Share Posted August 2, 2008 I know what regex is (even though I have little experience with this). So basically, would I use a file_get_contents to get the contents of all of the website and then use regex to filter the information and put everything into variables? Please let me know if I'm thinking about this in the right context. Also, how much would you expect to charge for a job like this? What is it worth to make something to do this? Link to comment https://forums.phpfreaks.com/topic/117811-saving-information-from-a-different-website/#findComment-605970 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.