Hello, i built an engine in PHP that does a bunch of stuff and handles an enormous ammount of data..the page cant be executed in the browser or it times out, so i have to use curl to execute the script....i want to attempt to make this "engine" in C++
i was wondering if someone could give me a hand and maybe help me convert this php into C++
PHP Code:
PHP Code:
$url = "https://www.novaworld.com/Players/Stats.aspx?id=33680801261&p=616065";
$content = file_get_contents($url);
$strip = strip_tags($content);
$remove = stristr($strip, 'Down');
$stats = $remove;
$pcid = stristr($stats, 'PCID:');
sscanf($pcid, 'PCID: %s' , $pcid);
echo "PCID: " . $pcid . "<br>";
what it does is connects to that website, gets the content, strips the html and then parse's the 'PCID and stores it as a variable.
could someone give me a hand or point me in the right direction?
thanks