View Full Version : Is it possible to submit a form simply by typing it in the URL?
I know that it is possible to set variables for forms by typing it in the URL...
For example...
form.asp?variable=value&variable=value
But is it possible to actually submit a form using this method?
redhead
02-15-2003, 10:31 AM
that is how forms using the GET method operate... and it would submit the form if:
1) the file is programmed to process the form
2) if it was programmed to recognise variables submitted using the GET method not POST...
that is probably as clear as traditional lemonade... does that help at all? :thumbsup:
The form that I was testing was using the POST method.... so I would not be able to submit a form in this fashion.... Am I correct?
cheesebagpipe
02-16-2003, 02:07 AM
Not at all. All a form's method does is determine the way the browser will submit the data: appended to the url, or in the HTTP body of the request. Since the url - which includes any querystring - gets transmitted to the server, whatever method you use, you can submit with post and tack on additional data to the url as well. Shows up in particular locations in the server's environment, naturally.
redhead
02-16-2003, 02:36 PM
well... not really...
for example: if the page is PHP and uses $HTTP_POST_VARS then it wont be picking anything up from the query sting... it'll be looking for what was POSTed from the form...?
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.