httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Norman Peelman" <npeel...@cfl.rr.com>
Subject Re: [users@httpd] A small question (Answering will take less than a min)
Date Wed, 15 Dec 2004 23:11:43 GMT
----- Original Message ----- 
From: "Zeeshan Maqbool" <zeeshanhaqz@yahoo.com>
To: <users@httpd.apache.org>
Sent: Wednesday, December 15, 2004 5:32 PM
Subject: [users@httpd] A small question (Answering will take less than a
min)


> hi
>
> I have a very simple and small question. Currently I
> am running a website which has 3 frames in it (and by
> default they use GET). I am working with data in just
> 1 frame. Is there ne way I can specify to Apache to
> use POST instead of GET.
>
> well, as most of u might jump on me for this stupid Q,
> I would like to make it more clear.. The form which is
> in this frame is something like this:
>
> "<FORM METHOD=\"post\" >
> <h3 align=left><font face=\"arial,helvetica\">Enter
> Command</font></h3>
> <TEXTAREA NAME=\"user-command\" ROWS=5
> COLS=40></TEXTAREA>
> <br><INPUT TYPE=\"submit\" METHOD=\"post\"
> VALUE=\"Submit\"><INPUT TYPE=\"reset\"
> VALUE=\"Clear\">
> </FORM>"
>
> means the method is specified as POST !!
>
> and the last 2 lines of access_log:
> 192.168.0.3 - - [15/Dec/2004:14:09:48 -0800] "GET
> /lisp/browser HTTP/1.1" 200 383
> 192.168.0.3 - - [15/Dec/2004:14:09:53 -0800] "POST
> /lisp/command?user-command=there+%0D%0A HTTP/1.1" 200
> 1937
>
> Which I understand as :
>
> 1) When the form is uploaded method is set GET
> 2) When I use the submit button method is POST.
>
> How can I set the first method to POST ?? meaning set
> method POST for this FRAME as default ..
>
>
> Zeeshan
>

  I don't think you need to. You don't need the METHOD="post" in your submit
button either. When you click submit the form will be sent as the method
specified in the FORM tag.

Norm
---
Avatar hosting at www.easyavatar.com


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message