Jump to content


Photo

help with a script


  • Please log in to reply
5 replies to this topic

#1 Crypt

Crypt
  • Members
  • PipPip
  • Member
  • 13 posts

Posted 12 April 2006 - 04:16 PM

I am trying to make an auto-click script. Where it loads a website in an iframe then auto-click's a button on that website. Is there a way to set like attributes so it will auto-click it?

#2 obsidian

obsidian
  • Staff Alumni
  • Advanced Member
  • 3,202 posts
  • LocationSeattle, WA

Posted 12 April 2006 - 04:27 PM

[!--quoteo(post=364095:date=Apr 12 2006, 12:16 PM:name=Krypt)--][div class=\'quotetop\']QUOTE(Krypt @ Apr 12 2006, 12:16 PM) View Post[/div][div class=\'quotemain\'][!--quotec--]
I am trying to make an auto-click script. Where it loads a website in an iframe then auto-click's a button on that website. Is there a way to set like attributes so it will auto-click it?
[/quote]

you may be able to simulate that effect... what are you wanting to do with the auto-click? submit a form? if so, there are other ways of doing that without actually having a "click" executed.
You can't win, you can't lose, you can't break even... you can't even get out of the game.

<?php
while (count($life->getQuestions()) > 0)
{   $life->study(); } ?>
  LINKS: PHP: Manual MySQL: Manual PostgreSQL: Manual (X)HTML: Validate It! CSS: A List Apart | IE bug fixes | Zen Garden | Validate It! JavaScript: Reference Cards RegEx: Everything RegEx

#3 Crypt

Crypt
  • Members
  • PipPip
  • Member
  • 13 posts

Posted 12 April 2006 - 04:40 PM

[!--quoteo(post=364100:date=Apr 12 2006, 11:27 AM:name=obsidian)--][div class=\'quotetop\']QUOTE(obsidian @ Apr 12 2006, 11:27 AM) View Post[/div][div class=\'quotemain\'][!--quotec--]
you may be able to simulate that effect... what are you wanting to do with the auto-click? submit a form? if so, there are other ways of doing that without actually having a "click" executed.
[/quote]

I am trying to make it "click" a button. but this button is on a different website.
here is what I am working on:

hxxp://xhila.com/king/1.php
take out the xx and replace with tt

#4 trq

trq
  • Staff Alumni
  • Advanced Member
  • 31,041 posts

Posted 12 April 2006 - 04:50 PM

You can use the curl extension to make requests to webpages. What exactly happens when this button is clicked?

#5 Crypt

Crypt
  • Members
  • PipPip
  • Member
  • 13 posts

Posted 12 April 2006 - 05:00 PM

[!--quoteo(post=364107:date=Apr 12 2006, 11:50 AM:name=thorpe)--][div class=\'quotetop\']QUOTE(thorpe @ Apr 12 2006, 11:50 AM) View Post[/div][div class=\'quotemain\'][!--quotec--]
You can use the curl extension to make requests to webpages. What exactly happens when this button is clicked?
[/quote]

It votes for me in this specific thing. It increases my vote count by 1. Can you please explain how I could do this? I can pay you if you get a working script.

#6 trq

trq
  • Staff Alumni
  • Advanced Member
  • 31,041 posts

Posted 12 April 2006 - 05:57 PM

No, I meen what action takes place when the button is pushed. You need to know what script is called upon clicking, then use the curl extension to call this script.

If you want the script written for you then place a post in the freelance forum, this isn't the place.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users