Codice PHP:
fwrite($fp, "GET /?{$this->query} HTTP/1.0\r\nHost: [url]www.megaupload.com\r\nAccept:[/url] */*\r\n\r\n");
while (!feof($fp)) {
echo htmlspecialchars(fgets($fp, 1024));
}
Ho scoperto che così funziona anche se mi dà tutto tutto...infatti mi servivano solo gli headers, ma bastererà tagliare l'output dai \r\n\r\n in poi, cmq grazie ciaooo!!