get_headers() Not Working PHP-GTK

From: Date: Mon, 13 Dec 2004 03:50:49 +0000
Subject: get_headers() Not Working PHP-GTK
References: 1 2  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-5344@lists.php.net to get a copy of this message
im trying to get the headers of a web page.. and in php works great.. but when i run the same code in an app on php gtk .. it closes :( here its the code: $url="http://www.google.com"; $az=get_headers($url); //print_r($az); $ez=explode("Content-Length:",$az[2]); $total_bytes=trim($ez[1]); //echo $total_bytes; Francisco

« previous php.gtk.general (#5344) next »