curl-and-php
code example
From: Larry Truppa <cbsubscription_at_yahoo.com>
Date: Wed, 7 Aug 2013 09:44:20 -0700 (PDT)
Date: Wed, 7 Aug 2013 09:44:20 -0700 (PDT)
Hi all,
Can anybody point me to PHP code example to perform the following within the same session:
1) login onto the login.html page (equivalent to the
curl -so a.tmp http://192.168.xxx.yyy/login.html -d"password=XXXXXX"
command that works at shell level
2) move to a second page http://192.168.xxx.yyy/second_page.html where to fetch the field with name FIELD4 from,
3) move to a third page http://192.168.xxx.yyy/third_page.html where to modify the field with name FIELD234
4) end the session
Thanks for your help.
CB
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2013-08-07