Page 1 of 1

Page interaction

Posted: Sun Jan 11, 2009 7:49 am
by astropirate
hey guys,
I am stuck on how i would create a tool that would interact with a page. I need to know how i would "click" a button and that sort of stuff. I was told to get uCurl and i did but i didn't understand how that was suppose to do what i wanted. so any help would be greatly appreciated.


--=ASTRO=--

Re: Page interaction

Posted: Sun Jan 11, 2009 8:58 am
by requinix
Since this is a PHP-focused forum I assume you're looking for a way to use PHP to do this?

Clicking a button is merely just submitting a form. You can use cURL to grab the page that has the form (if it has info you need) and cURL to fake a form submission.
If you want to execute client-side stuff like JavaScript then you'll have a hard time finding a PHP solution and may just as well abandon your idea (at least in its current form) now.