can i send Both GET and POST data at same time
Posted: Thu Jul 30, 2009 5:47 am
hi is it possible to send both GET and POST data at the same time please help.
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Code: Select all
<form action="mypage.php?GET_DATA_GOES HERE">POST_DATA_GOES_HERE (use form fields ofcourse : )</form><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>
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=somepostvalueI stand correctedDarhazer wrote: <form action="mypage.php?GET_DATA_GOES_HERE" method="POST">
The default method is GET![]()