[UPHPU] Screen scripting and form submission

Adam Barrett utahcon at utahcon.com
Tue Aug 12 12:12:48 MDT 2014

I am sure you aren't looking for a book plug but...


That one will teach all you need to know for this and future projects like


On Tue, Aug 12, 2014 at 12:10 PM, Justin Purdie <jpurdie at skyvantage.com>

> So I've got a project that I don't have any experience in, and am wondering
> if any of you could point me in the right direction. Basically I need to
> set up a script on a cron that will:
>    1. Login to a website.
>    2. "click" on an anchor which calls a javascript function to submit a
>    form.
>    3. Fill out form fields with dynamic content.
>    4. submit that form
> I've used this to login to the website via curl (
> http://simplehtmldom.sourceforge.net/), but not really sure how to handle
> cookies, clicking links, and submitting forms.
> Really unsure as to the direction I should take this. Any help is
> appreciated.
> Justin Purdie
> SkyVantage Development
> US Ph. +1-801-649-2925 option 305
> US Fax. +1-419-828-6643
> Skype (Calls only - no chat): skyvantage
> Email: support at skyvantage.com
> twitter:  http://twitter.com/skyvantage
> facebook: http://www.facebook.com/SkyVantage
> ---
> This message may contain confidential and/or privileged information of
> SkyVantage Corporation and  its affiliated companies.  If you are not the
> intended recipient, please (i) do not disclose,  copy, distribute, or use
> this information, (ii) advise the sender by return e-mail, and (iii)
> delete  all copies from your computer.  Your cooperation is greatly
> appreciated.
> _______________________________________________
> UPHPU mailing list
> UPHPU at uphpu.org
> http://uphpu.org/mailman/listinfo/uphpu
> IRC: #uphpu on irc.freenode.net

More information about the UPHPU mailing list