rendered paste body private function normalGET($url) {
$ch = curl_init();
curl_setopt( $ch, CURLOPT_COOKIEJAR, $this->cookie_path );
curl_setopt( $ch, CURLOPT_COOKIEFILE, $this->cookie_path );
curl_setopt( $ch, CURLOPT_USERAGENT, $this->useragent );
curl_setopt( $ch, CURLOPT_FOLLOWLOCATION, 1 );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, 1 );
// curl_setopt( $ch, CURLINFO_HEADER_OUT, 1 ); // Debugging! call curl_getinfo($ch, CURLINFO_HEADER_OUT) for request header
// curl_setopt( $ch, CURLOPT_HEADER, 1 ); // Debugging!
curl_setopt( $ch, CURLOPT_REFERER, $this->last_url );
curl_setopt( $ch, CURLOPT_URL, $url );
$page = $this->execCURL( $ch );
// echo "REQUEST HEADER:\n".curl_getinfo($ch, CURLINFO_HEADER_OUT); // Debugging!
curl_close( $ch );
return $page;
}