Posted by Chris F.A. Johnson on 10/20/06 01:56
On 2006-10-20, CRON wrote:
> Hi all:
> I'm a little confused here: When I submit this form with GET it works
> like a dream. But when I use POST, the recieving script just doens't
> recieve the vars. Why would this be?
>
> the form:
><form action="0scripts/invite.php" method="POST" enctype="text/plain"
> onSubmit="compileEmails()">
> <textarea name="notes" cols="65" rows="5"
> id="notes"></textarea>
> <p>Your invitation will be sent to the following email
> addresses:
> <input name="loopcount" type="hidden" value="<? echo
> $loopcount;?>">
> <br>
> <textarea name="emaillist" cols="81" rows="5"
> id="emaillist" style="background:#FFFFFF; border-color:#FFFFFF;
> color:#999999; font-weight:normal; font-size:7pt;"></textarea></p>
> <p align="right" class="backLightGrey">
> <input type="submit" name="Submit" value="Send Invites"
> </p>
></form>
Does the script that is targeted (0scripts/invite.php) support the
POST method?
--
Chris F.A. Johnson <http://cfaj.freeshell.org>
===================================================================
Author:
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
[Back to original message]
|