Page interaction

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
astropirate
Forum Newbie
Posts: 12
Joined: Tue Oct 28, 2008 3:59 pm

Page interaction

Post 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=--
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: Page interaction

Post 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.
Post Reply