I am trying to use the script below(just posting relevant info) to set a textarea field to a session variable, but there seems to be a size limit somewhere which truncates my data after a certain point. I've searched for info on this and can only find that there is no size limit for variables in PHP. I know that browsers will limit to something between 32KB and 64KB, but I am not getting anywhere near 32K characters.
if ($TestimonialLong)
{ $TestLong = stripslashes($TestimonialLong);
header("Location: TestimonialReview.php");
exit;
}
print ("<!-- Long Testimonial -->
<form action=\"$php_self\" method=\"get\">
<table align=\"center\" width=\"600\" border=\"2\" bordercolor=\"#ffffff\" cellpadding=\"0\" cellspacing=\"0\">
<td><p align=\"center\">Detailed Testimonial</p> Now tell us about your experience:
<textarea cols=\"67\" rows=\"10\" name=\"TestimonialLong\" wrap=\"virtual\">$TestLong</textarea><br><br>
</td>
</table>
<br>
<!-- End Long Testimonial -->");
print("<p align=\"center\"><input type=\"submit\" name=\"Submit\" value=\"Submit your Testimonial\"></p>
</form>
");
Can someone tell me how I can get at least the 32KB of text data into this variable?
Thanks