Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

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

Posts: 91
Name: El Finney
Location: England, UK
Trades: 0
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
 
 
Register now for full access!
Old 05-30-2007, 12:17 PM Re: Form via url
J0ker's Avatar
Skilled Talker

Posts: 61
Trades: 0
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.
__________________

Please login or register to view this content. Registration is FREE
- Free Gaming Forum/Arcade

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
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
Trades: 0
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: 74
Name: Nick Barrett
Location: Brighton
Trades: 0
POST is hidden
__________________

Please login or register to view this content. Registration is FREE

24/7 Support | 99.5% uptime | shared | reseller | dedicated
Looking for a webhost? Try
Please login or register to view this content. Registration is FREE
!
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
Trades: 0
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
Trades: 0
No post cannot be modified via the url.
__________________

Please login or register to view this content. Registration is FREE
- Free Gaming Forum/Arcade

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
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
Trades: 0
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 Search this Thread
Search this Thread:

Advanced Search

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

BB 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.24253 seconds with 12 queries