POST form wierdness
Posted 17 June 2006 - 09:36 AM
I have a chunk of code that allows some HTML to be edited in-site with a form and a text area. The text is sent with POST back to the server, which writes it line by line to a file.
Here's the problem: it runs fine on my development server, but on my host's server, if I submit more than about 3K, the server never responds to the request and just sits there until it times out. Then the script runs without any POST variable data (as can be seen from the errors). If I submit less than 3K, the thing works beautifully.
I've implemented very similar code on other accounts on the same server without problems, and my _excellent_ host has spend three hours trying to work out what the problem is. Could it be:
- encoding issue?
- firewall rules?
I'm clutching at straws here, as you can see. Any ideas?!
Posted 17 June 2006 - 11:03 AM
((EMAIL CODE THAT WORKS))
((PAYPAL INTEGRATION THAT WORKS))
Posted 17 June 2006 - 11:23 AM
Are there particular variables in my php.ini that might be relevant?
Posted 17 June 2006 - 11:59 AM
; Maximum size of POST data that PHP will accept.
post_max_size = 8M
Posted 17 June 2006 - 03:25 PM
I'm at my wit's end. My very helpful host has studied the code for three hours, apparently, and can find no difference between that and what is on my other functioning accounts.
What is PHP's normal policy when a value like that is exceeded? Could mod_php simply refuse to connect?! How would it know the size by that point? If I use the Firefox live http headers extension, there is simply a huge delay, then a timeout. The headers seem to go in the end, but then PHP acts although there was no request at all.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users