Hi all,
I am attempting to write a Perl script (client) that logs into a server (not my server) and performs some operations. I am using LWP::Useragent but when i log in, the server returns an error message that "your browser does not support frames". I want the perl script to communicate with the server in such a way that the server thinks its a normal browser (eg Internet Explorer 6) that it is talking to. If I define all environment variables (like HTTP_USER_AGENT etc) in my script, will it work? How can i know what browser environment variables to define? Please help!
Thanks in advance!
I am attempting to write a Perl script (client) that logs into a server (not my server) and performs some operations. I am using LWP::Useragent but when i log in, the server returns an error message that "your browser does not support frames". I want the perl script to communicate with the server in such a way that the server thinks its a normal browser (eg Internet Explorer 6) that it is talking to. If I define all environment variables (like HTTP_USER_AGENT etc) in my script, will it work? How can i know what browser environment variables to define? Please help!
Thanks in advance!