Simon Willison’s Weblog

PHP form problem

I’m suffering from a bizzare PHP bug. For some reason, POSTed form entries over a certain length are being lost when submitted to scripts running on this site. Here is a demo script which demonstrates the problem—try typing in a short chunk of text and it will submit fine, but anything long (seemingly over about 1300 characters) will be mysteriously lost. The server’s PHP Info output is available. If you have any idea what could be causing this drop me a line or add a comment to this entry.

This is PHP form problem by Simon Willison, posted on 2nd July 2002.

Next: More tips from Mark

Previous: Arial and Helvetica

Previously hosted at http://simon.incutio.com/archive/2002/07/02/phpFormProblem