I really know of no other place to ask this question, sop I thought I would try here, as I have had luck in the past.
We have a web form taking data in and emailing it to someone, simple enough. The form has a number of fields, and has had problems with the TEXTAREA fields truncating the text. There are no explicit limit on the form specifications other than a column specification.
The form was originally handled via a perl cgi script, and as I am not all that great with perl, I thought to rewrite it in PHP, as it would then eliminate the need for the cgi script and we are already using PHP elsewhere. After the rewrite, the problem still occured.
I then, in the PHP, initialized a variable with the problem text, and used that variable in the mail, and he same problem occurred.
The kicker is, however, that with the perl script, the variables were being sent out to a file for our internal records, and that worked fine! No problems with the long text. The code to output to a file was the same as the code to output to email so I cannot begin to imagine the difference.
The email length shouldn't be a problem as it is the individual fields getting truncated, and not the whole message.
Also, I did NOT try to save the variables as a file with the PHP script, as I had ran into the same problem with the email (which IS the most important part of the script).
Any thoughts, ideas, or help whatsoever will be greatly appreciated.
Thanks,
luke