NYCPHP Meetup

NYPHP.org

[nycphp-talk] php performing actions on pages

Rob Notwicz rob.notwicz at gmail.com
Tue Nov 7 23:07:26 EST 2006


Thanks Anirudh! You wouldn't happen to know of any good sites/examples
showing this kind of thing in action?

On 11/7/06, Anirudh Zala <arzala at gmail.com> wrote:
>
> On Wednesday 08 November 2006 05:59, Rob Notwicz wrote:
> > Can a php script be made to perform actions on a site, such as: open it,
> > fill in a form, click a link/button, and receive the page returned? I've
> > been having problems getting cURL to extract a site behind an https
> login
> > and I was wondering if there was a more direct method.
> >
> > thanks,
> >    Rob
>
> Yes, using PHP functions like "fsockopen, fputs, fgets" etc. you can do
> so.
> But this method might have certain limitations of accessing pages. For
> example, pages being submitted using JS might not work with this method.
>
> It is not to be assumed that whatever acctions is performed using browser,
> can
> also be done exactly using these methods.
>
> Thanks
>
> Zala
> _______________________________________________
> New York PHP Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20061107/8a82d2ba/attachment.html>


More information about the talk mailing list