Re: [PHP] fread problem

2006-01-04 Thread Curt Zirzow
On Mon, Jan 02, 2006 at 09:35:21PM +0100, Mario de Frutos Dieguez wrote: > Hi! > > I have a problem using fread with a XML document. When i read some nodes > with a great amount of text it cuts in the same place of the text. There > are any limitation of text or something? I have in the php.ini th

Re: [PHP] fread problem

2003-03-03 Thread Ernest E Vogelsinger
At 05:46 03.03.2003, Paul Cohen said: [snip] >Here is the code in my file and was taken directly from the manual: > >$filename = "test.php"; >$handle = fopen ($filename, "r"); >$contents = fread ($handle, filesize ($filename)); >fclose ($handl

RE: [PHP] fread problem

2003-03-02 Thread John W. Holmes
> I am trying to read a php file to a varible and then print that variable. > Unfortunately, my php file is not being parsed by the fread function and I > can't figure out why. > > Here is the code in my file and was taken directly from the manual: > > $filename = "test.php"; > $handle =

RE: [PHP] fread problem

2003-03-02 Thread Martin Towell
you'll have to exec() the code $filename = "test.php"; $handle = fopen ($filename, "r"); $contents = fread ($handle, filesize ($filename)); fclose ($handle); exec($contents); see if that works Martin > -Original Message- > From: Paul Cohen [mailto:[EMAIL PROTECTE