RE: [PHP] fopen, how do i use it?
| From: | Jason | Date: | Wed, 05 Jul 2000 21:35:22 +0000 |
| Subject: | RE: [PHP] fopen, how do i use it? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-5075@lists.php.net to get a copy of this message | ||
$fp stores the file pointer. It doesn't actually contain the contents of
the file.
jason
> -----Original Message-----
> From: Bart [mailto:no@reply.net]
> Sent: Wednesday, July 05, 2000 3:28 PM
> To: php-general@lists.php.net
> Subject: [PHP] fopen, how do i use it?
>
>
> I tried to parse an externel html file into a string, but it only replies
> showing a single 1
> what am i doing wrong ?
>
> <?
> $fp = fopen("http://192.168.1.20/", "r");
> printf("%s",$fp);
> ?>
>
>
>
> --
> 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
>
>
_______________________________________________________
Site Design, Hosting, and E-Commerce at www.webpipe.net