* Thus wrote Burhan Khalid: > Curt Zirzow wrote: > >* Thus wrote Gerard Samuel: > > > >>On Friday 30 July 2004 01:32 pm, Gerard Samuel wrote: > >> > >>>A means that is not specifically tied to Apache functions. > >>>Just looking for a way so that it works no matter the webserver. > >>> > >> > >>Seems like the function stream_get_meta_data() will fill the job.. > > > > > >hmm.. are you able to get the headers from that? could you provide a > >sample? > > <?php > echo "<pre>"; > print_r(stream_get_meta_data(fopen("http://www.google.com","r"))); echo > "</pre>"; > ?>
Ah ok, i had thought you meant the current scripts request headers. Thanks. Curt -- First, let me assure you that this is not one of those shady pyramid schemes you've been hearing about. No, sir. Our model is the trapezoid! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php