Jump to content


Photo

Automate fill form


  • Please log in to reply
2 replies to this topic

#1 phpnewb999

phpnewb999
  • Members
  • PipPip
  • Member
  • 10 posts

Posted 19 September 2006 - 10:29 PM

I was wondering if it was possible to partially fill out forms by clicking on a link?

Example:
www.form.com contains a form with (have no access to modify the page codes)
<select name="element">
    <option>none</option>
    <option>apple</option>
    <option>orange</option>
    <option>grape</option>
</select>

Now, i would like to make a page on my site where i have a link <a href="http://www.form.com">click here</a>

Would it be possible that when someone clicks on my page it will have the select element (apple) selected?

#2 degsy

degsy
  • Members
  • PipPip
  • Member
  • 20 posts

Posted 20 September 2006 - 10:22 AM

Not without editing the page code.


#3 fenway

fenway
  • Staff Alumni
  • MySQL Si-Fu / PHP Resident Alien
  • 16,199 posts
  • LocationToronto, ON

Posted 20 September 2006 - 12:50 PM

This would require injecting client-side code onto the page -- which is exactly what a XSS exploit involves.  So no.
Seriously... if people don't start reading this before posting, I'm going to consider not answering at all.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users