Text area posting to php
nick.pearson at gmail.com
Fri Sep 11 17:09:25 MSD 2009
Do you get the values of the "act" and "subj" parameters? Also, is it
the same behavior from different browsers?
I'm not sure this makes a difference, but I've never seen request
parameters in the "action" attribute of a form. Is it possible for
you to put the values of the "act" and "subj" attributes in hidden
form fields instead of in the form's action? That would be the first
thing I would try.
On Fri, Sep 11, 2009 at 7:46 AM, Ian Hobson <ian at ianhobson.co.uk> wrote:
> Hi All,
> I have a site written in php, that I am trying to move onto nginx.
> The site works on my test machine = Windows, Apache2.2. and php5.
> It does not work on the production machine (Ubuntu, nginx, php5).
> The post of a form with a submit button and a textarea arrives with the
> textarea with no value, and nothing from the button.
> The form is
> <FORM METHOD="POST" action="question.php?act=Save&subj=2"><table
> <tr><td width="25%" align="right">Subject : </td><td align="left">Decision
> <tr><td><input type="submit" value="Save subject"></td><td> </td></tr>
> <tr><td colspan='2' ><textarea COLS="90" rows="35" name="xmlarea"
> id="xmlarea" >
> <questionset title="Decision Coach">
> lots of content snipped
> What could be going wrong? How can I diagnose the problem further?
More information about the nginx