Re: [PHP] fread strangeness (was: nested echo and includes, mixed html / PHP)

2001-02-19 Thread David Robley
On Tue, 20 Feb 2001 11:37, Jaxon wrote: > Same problem, found it's coming from somewhere else :( > It looks as if fread or fopen is preventing PHP from from parsing ... > > index.php: > > $file="test.inc"; > $fd = fopen ($file, "r"); > $string = fread ($fd, filesize ($file)); > fclose ($fd); > ec

[PHP] fread strangeness (was: nested echo and includes, mixed html /PHP)

2001-02-19 Thread Jaxon
Same problem, found it's coming from somewhere else :( It looks as if fread or fopen is preventing PHP from from parsing ... index.php: test.inc: index.html show a blank html page, with the contents of test.inc visible via view source...grr. how can I get it to actually parse the PHP?