At 11.12 21/02/2005, you 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 pageas in something like this:
In theory yes, but if you want to read the html content after php
processing you should use:
$filename = "http://localhos
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 pageas in something like this:
try highlight_file();
>
> $filename = "/usr/local/something.php";
> $handle = fopen($filename,
u'll get actual the _contents_ of the file, not the 'html content'. so
even if it's a .php, u'll get it's source...it wouldn't be parsed by
the webserver. it'd be like "cat /usr/local/something.php" (as long as
the web server running ur script has read access to the file).
if it's not a local file
Hi All,
I'd just like to know if it is possible to use fread to read the html content
of a serverside coded pageas in something like this:
-
A passion till tomorrow,
Opeyemi Obembe | ng.clawz.com
-
D