03-12-2008, 12:56 PM
|
#1 (permalink)
|
|
The Prestige
Join Date: Dec 2007
Posts: 1,044
Thanks: 193
|
Unable to find the socket transport "UDP" - did you forget to enable it when you con
Or HTTP, and a bunch of different stream transports. Look, I need to grab some information, I know cUrl is an alternative, but I jsut want to do this.
PHP Code:
Unable to find the socket transport "HTTP" - did you forget to enable it when you configured PHP?)
My error,
My code:
PHP Code:
$ip = "UDP://127.0.0.1"; // I know this is my local ip, but I dont want you to know what it is! $port = "80"; // I changed this aswell $fp = fsockopen($ip,$port); $read = stream_get_meta_data($f); // tried socket_get_status //aswell if ($read['unread_bytes']!=0) { while(!feof($fp)) { print_r($read); } }
By the way, I already know sometimes you need openSSL, I already have that checked in my wamp config.
I just tried ssl, but now it just gives me that
PHP Code:
Maximum execution time of 30 seconds exceeded
Update: I tried it without a protocol, now its just blank
__________________
VillageIdiot can have my babbies ;d
|
|
|
|