Re: [PHP-DB] fread()

2005-02-21 Thread Edoardo Serra
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

Re: [PHP-DB] fread()

2005-02-21 Thread Petar Nedyalkov
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,

Re: [PHP-DB] fread()

2005-02-21 Thread anirudh dutt
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

[PHP-DB] fread()

2005-02-21 Thread Yemi Obembe
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