can i send Both GET and POST data at same time
Moderator: General Moderators
-
lokesh_kumar_s
- Forum Commoner
- Posts: 48
- Joined: Mon Apr 13, 2009 5:39 am
- Contact:
can i send Both GET and POST data at same time
hi is it possible to send both GET and POST data at the same time please help.
Re: can i send Both GET and POST data at same time
Yes.
Code: Select all
<form action="mypage.php?GET_DATA_GOES HERE">POST_DATA_GOES_HERE (use form fields ofcourse : )</form>There are 10 types of people in this world, those who understand binary and those who don't
Re: can i send Both GET and POST data at same time
<form action="mypage.php?GET_DATA_GOES_HERE" method="POST">VladSun wrote:Yes.
Code: Select all
<form action="mypage.php?GET_DATA_GOES HERE">POST_DATA_GOES_HERE (use form fields ofcourse : )</form>
The default method is GET
And yes, you can, as the GET data is added to the path...
Code: Select all
POST /mypage.php?someval=1&someval=2 HTTP/1.1
Host: example.com
Content-length: someValue
Content-type: application/x-www-form-urlencoded
Connection: close
somepostvariable=somepostvalueRe: can i send Both GET and POST data at same time
I stand correctedDarhazer wrote: <form action="mypage.php?GET_DATA_GOES_HERE" method="POST">
The default method is GET![]()
There are 10 types of people in this world, those who understand binary and those who don't