I'm trying to create a php script that will automate a web submission process to another website...
the website first requires the user to login, then once the cookie is set after login, the submission can be sent...
so I have two URL's that I need to request, but without closing the browser....
I am trying to use shell_exec() executing commands to lynx....
I need to keep the lynx session open during the two URL requests..... right now each lynx request is separate, and the cookie is lost after the first one... is there a way to open a local interactive shell session that stays open during the commands?
any ideas? or a better way to do this?
thanks...