supermerc Posted November 8, 2008 Share Posted November 8, 2008 Hi, I am making a sort of help site for an online game. The game allows crew to raid monsters and they drop items. What I want to do is have a script that grabs the raid ID and will get the names of the items that dropped and insert them in database to show what Items were dropped from that raid. http://quiver.outwar.com/raidattack.php?raidid=282214 <--- Thats an example of a raid, and at the bottom where it says the items found is what I want to insert in my database. If someone knows how to do this it would be greatly appreciated. Link to comment https://forums.phpfreaks.com/topic/131921-grab-data-from-other-site/ Share on other sites More sharing options...
ohdang888 Posted November 8, 2008 Share Posted November 8, 2008 if they are displaying the info on the page publically.... then you can use cURL Link to comment https://forums.phpfreaks.com/topic/131921-grab-data-from-other-site/#findComment-685337 Share on other sites More sharing options...
supermerc Posted November 8, 2008 Author Share Posted November 8, 2008 Ive looked into curl a bit but I was confused as to how I to make it work, do you have to install it? also is there any simpler way? Link to comment https://forums.phpfreaks.com/topic/131921-grab-data-from-other-site/#findComment-685339 Share on other sites More sharing options...
supermerc Posted November 8, 2008 Author Share Posted November 8, 2008 bump Link to comment https://forums.phpfreaks.com/topic/131921-grab-data-from-other-site/#findComment-685513 Share on other sites More sharing options...
Yesideez Posted November 8, 2008 Share Posted November 8, 2008 I've never used curl and without having done it the only way I can think of is: $site=file('http://quiver.outwar.com/raidattack.php?raidid=282214'); That pulls the HTML from that page then it'd be up to you to parse it in some way. Sorry, best I can do Link to comment https://forums.phpfreaks.com/topic/131921-grab-data-from-other-site/#findComment-685521 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.