I've been out of PHP too long, and can't get a simple preg_match to work for me. Perhaps I'm going at this the wrong way, can anyone give me some help? hahaha!!!
<?php
$url="http://dtkbans.com/index.php?p=banlist&searchText=".$_GET['STEAMID']."&Submit=";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
$data = curl_exec ($ch);
curl_close ($ch);
preg_match('/<i>Total Bans: |\d|</i>/igm', $data, $matches);
print_r($matches);
?>
I basically want it to return the amount of Total Bans. but its not outputting anything :(
Hey @Hawkee The bottom bar, where it shows, about, privacy policy etc. Nothing works on that for me :( Using Google Chrome!
@Hawkee I don't know about others, but I'm currently using Google Chrome Version 30.0.1599.101 m (Most up to date version) and I have problems "copying" scripts. I highlight it all, and i right click, and it makes my screen scroll to the bottom of the page...
Suggestions? :)
http://www.youtube.com/watch?v=8Qvhc-zJ-yY&feature=youtu.be
Found this old application i wrote 8-9 years ago.
Was for a year 10 IT Class project, where we told:
"Create anything that can assist someone within a School and doesn't require much updating."
This was my submission which consequently gave me the highest mark in the class!
The pause at the start and the ending are fade in/out animations!
@Hawkee have you noticed that uh, on threads/comments you've got displayed the escapes, example: http://www.hawkee.com/snippet/2459/
@Hawkee yeah i got it too, but i thought it was something on my end, as i had updated my browser.... lol
@Hawkee Might be because of the new facebook API. but when posting a comment, it says Share my comment on: and then doesn't display anything.
Don't know if you know about that yet, just thought i'd bring it to your attention :)
@Hawkee Frank, John, Joe, Felma liked your script "PHP Webchat"
perhaps an idea?