user4fun Posted August 6, 2007 Share Posted August 6, 2007 Got one form with 17 questions.After they are completed and the user hits submit, it get emails, all 17 answers.Question1Is there a limit to how many variables are sent in the body of the message "POST"? because right now it is not working, the email is emptyQuestion2If you think that is too much, what is the other solutionEither way it all has to be sent via email or Which will be complicated for me, and i am likely to bug the living crap out of all my php idols like justsomeguyOther solutiona txt file is open (Which what i will eventually do with the email if it is sent)and the name of the txt file will be a number in mysql table.List || column.IDF That number is set to (auto increments) and will be generated once the first 5 entries in the form are inserted in table.List I am not good at opening a file and writing to it, specially that the name is going to be automatically generated and in a directory called co_file_in (incase any one wants to help) lolunless you have the great desire to help a man in need, i am not recommending that solution lol. Link to comment Share on other sites More sharing options...
vijay Posted August 6, 2007 Share Posted August 6, 2007 Hi.. try to increase size of post cia perameter "post_max_size","upload_max_filesize" in php.ini accordingly your requirement.Regards,Vijay Link to comment Share on other sites More sharing options...
justsomeguy Posted August 6, 2007 Share Posted August 6, 2007 There aren't any limits on the number of things you can pass through post. You can always print_r($_POST) to see everything that's in it. If nothing gets sent through post then check the form. Link to comment Share on other sites More sharing options...
Synook Posted August 8, 2007 Share Posted August 8, 2007 Yes, JustSomeGuy is right, just 17 strings is not going to overload the $_POST superglobal. The problem has to either lie in [a] your form, or your email script. If you post your code here then we can have a look at it, if you like. Link to comment Share on other sites More sharing options...
justsomeguy Posted August 8, 2007 Share Posted August 8, 2007 Just as a note, I have a timesheet application that has been running for years that has around 240 fields on the timesheet page and that runs with no problems. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.