> I'm generating a page of HTML by reading an entire page of HTML source
into
> a variable, and then doing various functions and str_replace on the
> variable.
>
> However when I finialy write this out to a file the variable containing
the
> HTML source is truncated, at about 5800-ish bytes.
>
> Is there a limit of the amount of data a variable can store? Or is there a
> better way to manipulate the text in file?
>

It seems that when I did my fread, I was using the wrong filename in the
filesize function. Therefore The file was being read into the variable and
getting truncated at the incorrect limit.

--
Andrew


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to