Re: Retrieve HTML page
| From: | Kif | Date: | Thu, 01 Feb 2001 23:16:21 +0000 |
| Subject: | Re: Retrieve HTML page | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-37749@lists.php.net to get a copy of this message | ||
something like this perhaps ?
$remotefile = file($remote_file_url);
$file_contents = join( '', $remotefile);
Cheers
Kif
----- Original Message -----
From: "Jared Howard" <webbie@deanox.com>
To: <php-general@lists.php.net>
Sent: Thursday, February 01, 2001 11:03 PM
Subject: [PHP] Retrieve HTML page
> I've been looking through the manual but I keep on missing the function or
> it doesn't exist.
> I need to know if there is a way to get a specified HTML page (as if you
> were to go to the page by typing in the url in your browser) and either
> turn it into a string or array or something that I would be able to cut up
> and use the information that I need. This way PHP does the work instead
of
> going to the page yourself.
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net