I want to get the random quote from: http://smacie.com/randomizer/
Heres my attempt:
Code: Select all
<?php
$file = file_get_contents("http://smacie.com/randomizer/blah.html")
preg_match("/big>(.*)<\/font>/",$file,$quote);
echo $quote[1];
?>