If it uses basic authentication, you should be able to do:
Fopen("http://username:[EMAIL PROTECTED]","r")
Ryan Marrs
[EMAIL PROTECTED]
Web Applications Developer / IT
Sandler & Travis Trade Advisory Services, Inc.
www.strtrade.com
248-474-7200 x 183
-----Original Message-----
From: Eduardo Vela [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 28, 2001 8:49 AM
To: [EMAIL PROTECTED]
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:[EMAIL PROTECTED]]
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 <[EMAIL PROTECTED]>
Date: Tue, Aug 28, 2001 at 02:15:56PM +0300
Message-ID: <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
-- 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
_________________________________________________________
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]