I am trying to write to a file
EX: $newfile = @fopen($filename, "w+") or die("Couldn't open file.");
@fputs($newfile, $newstring, 160000) or die("Couldn't write to file.");
$msg = "<P>File has data in it now...</p>";
fclose($newfile);
and $newstring is about 70 lines of code. It processes fine and but when I go to open the file that was written to I only get about a quarter of my $newstring file.
Is there a character limit to fwrite? or is there a better way to do what I'm trying to do here?
Thanks
Mark