Re: fread()

From: Date: Mon, 21 Feb 2005 10:18:25 +0000
Subject: Re: fread()
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-38627@lists.php.net to get a copy of this message
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: [application/pgp-signature]
« previous php.db (#38627) next »