Reply
Form via url
Old 05-29-2007, 05:05 PM Form via url
Finney's Avatar
Skilled Talker

Posts: 91
Name: El Finney
Location: England, UK
I know there is a way but I cant find it anywhere, like in a normal form theres the submit button. Then you add a bit of code the the end of the url to click that button via added code to the url so your not actually clicking the button. I thought you'd most likely be able to do this with javascript. Not sure. If you understand what I mean and can help and future thanks.
Finney is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 05-30-2007, 12:17 PM Re: Form via url
J0ker's Avatar
Skilled Talker

Posts: 61
You mean you want to go to where you would go by pressing the submit button, but just typing in the url? Well the way html forms with, when its using PHP anyways, is it is sending the information in the html form to a php page to interpret it with php. So in the script it will say on of the following:

Quote:
<form method="GET" action="somepage.php">
OR
Quote:
<form method="POST" action="somepage.php">
In the first method, the GET method, information is sent by the url. So if there is a spot on the form for name, and you enter "Richard" then in the url it would be something like this:

website.com/somepage.php?name="Richard"

So if you wanted to submit a form without going to the actual form and pressing the submit button you could just enter in the information to the end of the url, but only if it uses the GET method.

Why you would want to do this is beyond me.
__________________
YoBux.com - Free Gaming Forum/Arcade
Bid For PR
http://radiopunker.stumbleupon.com
J0ker is offline
Reply With Quote
View Public Profile
 
Old 05-31-2007, 05:48 AM Re: Form via url
Finney's Avatar
Skilled Talker

Posts: 91
Name: El Finney
Location: England, UK
Thanks, its helped me alot.. Im wanting to create a bot in php.

And what about the POST?

Last edited by Finney : 05-31-2007 at 05:56 AM.
Finney is offline
Reply With Quote
View Public Profile
 
Old 05-31-2007, 06:04 AM Re: Form via url
Skilled Talker

Posts: 75
Name: Nick Barrett
Location: Brighton
POST is hidden
__________________
Fanatical Host
24/7 Support | 99.5% uptime | shared | reseller | dedicated
Looking for a webhost? Try Host Scout!
Political Monst is offline
Reply With Quote
View Public Profile
 
Old 05-31-2007, 06:05 AM Re: Form via url
Finney's Avatar
Skilled Talker

Posts: 91
Name: El Finney
Location: England, UK
So POST cant be used to input data via the URL?
Finney is offline
Reply With Quote
View Public Profile
 
Old 06-11-2007, 06:08 PM Re: Form via url
J0ker's Avatar
Skilled Talker

Posts: 61
No post cannot be modified via the url.
__________________
YoBux.com - Free Gaming Forum/Arcade
Bid For PR
http://radiopunker.stumbleupon.com
J0ker is offline
Reply With Quote
View Public Profile
 
Old 06-12-2007, 06:15 AM Re: Form via url
Finney's Avatar
Skilled Talker

Posts: 91
Name: El Finney
Location: England, UK
Mmm, ok.. But is there any ways I can create a bot in PHP/Javascript/HTML ect. so it inputs values and clicks buttons?
Finney is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Form via url
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.14292 seconds with 12 queries