Re: fopen, how do i use it?
| From: | Ed Vul | Date: | Wed, 05 Jul 2000 21:38:26 +0000 |
| Subject: | Re: fopen, how do i use it? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-5078@lists.php.net to get a copy of this message | ||
you can display the whole file with
fpassthru($fp);
(yay! I think i may have been useful for once)
Ed
""Bart"" <no@reply.net> wrote in message news:8k09g2$1bt$1@toye.php.net...
> 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
>