here is a snippet of my current code
Code: Select all
$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>";the code above gets the job done, but i was wondering if there any alternatives to get the job done that are maybe safer, faster, or better
im open to suggestions - thank you