Re: fread()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday 21 February 2005 12:12, Yemi Obembe wrote:
> Hi All,
> I'd just like to know if it is possible to use fread to read the html
> content of a serverside coded page....as in something like this:

try highlight_file();

>
> <?php
> $filename = "/usr/local/something.php";
> $handle = fopen($filename, "r");
> $contents = fread($handle, filesize($filename));
> fclose($handle);
> ?>
>
>
>
>
> ---------------------------------
>
> A passion till tomorrow,
> Opeyemi Obembe | ng.clawz.com
>
>
>
>
>
>
> ---------------------------------
> Do you Yahoo!?
>  Yahoo! Search presents - Jib Jab's 'Second Term'

-- 

Cyberly yours,
Petar Nedyalkov
Devoted Orbitel Fan :-)

PGP ID: 7AE45436
PGP Public Key: http://bu.orbitel.bg/pgp/bu.asc
PGP Fingerprint: 7923 8D52 B145 02E8 6F63 8BDA 2D3F 7C0B 7AE4 5436

Attachment: pgpjeNaHm2iuk.pgp
Description: PGP signature


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux