RE: [PHP-DB] GET a html page via php....

From: Date: Tue, 28 Aug 2001 12:53:10 +0000
Subject: RE: [PHP-DB] GET a html page via php....
Groups: php.db 
Request: Send a blank email to php-db+get-11890@lists.php.net to get a copy of this message
If it uses basic authentication, you should be able to do: Fopen("http://username:password@www.domain.com","r") Ryan Marrs rmarrs@strtrade.com Web Applications Developer / IT Sandler & Travis Trade Advisory Services, Inc. www.strtrade.com 248-474-7200 x 183 -----Original Message----- From: Eduardo Vela [mailto:eduardovela@yahoo.com] Sent: Tuesday, August 28, 2001 8:49 AM To: php-db@lists.php.net Subject: RE: [PHP-DB] GET a html page via php.... I am also interested in this matter... Is there a way to open a file in a site which require usename and password? thks. -----Mensaje original----- De: * R&zE: [mailto:renze@datalink.nl] Enviado el: Martes, 28 de Agosto de 2001 06:31 a.m. Para: Koutsogiannopoulos Karolos; PHP Database Mailinglist Asunto: Re: [PHP-DB] GET a html page via php.... <Original message> From: Koutsogiannopoulos Karolos <k.koutsogiannopoulos@ideal.gr> Date: Tue, Aug 28, 2001 at 02:15:56PM +0300 Message-ID: <9FF400760CD3D311B3B000A0C9D440BC9688CE@exchange.internal> Subject: [PHP-DB] GET a html page via php.... > Hello averyone... i have a question to make and any help is more than > welcome... > > Is there a way to connect with php to a foreign site and retrieve an > html page and then to extract a specific value from this page???? > > Many thanks in advance... </Original message> <Reply> Take a look at the functions as: fopen() (http://www.php.net/manual/en/function.fopen.php) Eg: $fp = fopen ("http://www.php.net/", "r"); With that function, and what you'll find there you'ld be able to achieve what you want. </Reply> -- * R&zE: -- >>>>>>>>>>>>>>>>>>>>>>>> -- Renze Munnik -- DataLink BV -- -- E: renze@datalink.nl -- W: +31 23 5326162 -- F: +31 23 5322144 -- M: +31 6 21811143 -- -- Stationsplein 82 -- 2011 LM HAARLEM -- Netherlands -- -- http://www.datalink.nl -- <<<<<<<<<<<<<<<<<<<<<<<< -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net For additional commands, e-mail: php-db-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net For additional commands, e-mail: php-db-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.db (#11890) next »