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
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
> 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 =
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
4 matches
Mail list logo