This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$id = intval(array_shift(array_keys($_GET))); | |
$start = "http://danbooru.donmai.us/pool/show/$id"; | |
$curl = curl_init(); | |
curl_setopt($curl, CURLOPT_URL, $start); | |
curl_setopt($curl, CURLOPT_USERAGENT, 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)'); | |
curl_setopt($curl, CURLOPT_TIMEOUT, 20); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
interface Communication_Interface | |
{ | |
public function get_phrase($phrase); | |
public function process_phrase(); | |
public function communicate(); | |
} |