RE: [PHP-GTK] get_headers() Not Working PHP-GTK
| From: | Malk0 | Date: | Mon, 13 Dec 2004 12:28:39 +0000 |
| Subject: | RE: [PHP-GTK] get_headers() Not Working PHP-GTK | ||
| References: | 1 2 3 4 5 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-5350@lists.php.net to get a copy of this message | ||
you can perhaps have a look to header grabber :
http://exeprod.com/projects/header_grabber/readme/
On Mon, 13 Dec 2004 12:48:30 +0800, firepages.com.au
<fire@firepages.com.au> wrote:
> apache_request_headers & alias's are only available when PHP is running as
> an apache module.
> look at examples for fsockopen() in the manual as an alternative.
>
> Regards,
> Simon.
>
>
>
> ----- Original Message -----
> From: "Francisco Obarrio" <obarriof@fibertel.com.ar>
> To: <php-gtk-general@lists.php.net>
> Sent: Monday, December 13, 2004 11:50 AM
> Subject: [PHP-GTK] get_headers() Not Working PHP-GTK
>
> > 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
> >
> > --
> > PHP-GTK General Mailing List (http://gtk.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> >
> >
>
> --
> PHP-GTK General Mailing List (http://gtk.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
-- Malk0 --
venez discuter php-gtk en francais ici http://mk0phpgtk.xgarreau.org
--
-- Malk0 --
venez discuter php-gtk en francais ici http://mk0phpgtk.xgarreau.org