Results 1 to 10 of 42
Threaded View
-
28th Jun 2012, 03:49 PM #3Member
Building a steam scraper for a client
Basically the point is to get the appid from the steamstore from a game name which is in the variable $game
PHP Code:$string = file_get_contents('http://store.steampowered.com/search/?snr=1_4_4__12&term='.$game.'');
preg_match('#http://store.steampowered.com/app/(.*)/?snr=1_7_7_151_150_1#', $string, $matches);
$result = substr("$matches[1]", 0, -2);
Signature too big, removed by staff.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Plz Help To Add A Php Snippet Into My DLE Index !
By JoomlaZ in forum Web Development AreaReplies: 0Last Post: 7th Jul 2011, 01:18 PM -
[C#] Tiny Web Server (snippet)
By Hyperz in forum Web Development AreaReplies: 6Last Post: 24th Jun 2010, 01:19 PM -
Image Upload in php. Code snippet #2
By SplitIce in forum Tutorials and GuidesReplies: 5Last Post: 31st Oct 2009, 07:40 AM -
See real OOP (Snippet from Litewarez V2) Webmasters CP
By litewarez in forum Tutorials and GuidesReplies: 21Last Post: 19th Sep 2009, 03:59 PM -
A Snippet from my latest project
By litewarez in forum Tutorials and GuidesReplies: 19Last Post: 21st Jun 2009, 05:17 PM
themaLeecher - leech and manage...
Version 5.04 released. Open older version (or...