|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now! |
|
#1
|
|||
|
|||
|
Hi
I am accessing a page on the net using lynx, when i use lynx though telnet i get the following message www.xyz.com cookie: ASPSESSION=FFEFNAIAPADA Allow? (Y/N/Always/neVer) Now when i run the command via a perl script using the follwoing syntax : ------------------------------------- print "Content-type: text/htmlnn"; $url = "http://www.xyz.com"; open (TEMP, "/usr/bin/lynx -source '$url'|") | | die "boom..."; while (<TEMP> ) { print $_; } close (TEMP); ------------------------------------------ I get page cannot be displayed on the browser , which i dont really mind my questions is that is there anyway i could grab that ASPSESSION=FFEFNAIAPADA value using this script ? My 2nd question is : If i create an HTML form , and then want to submit it to http://www.abc.com/login.asp it works ok , is there a way i can create a form but rather that it being submitted via IE its submitted via lynx ? i cant send any values via the url ,as the script on the other side is configured to chuck an error if this happens Sorry i think i am confusing everyone here , but i am need of some help so go on answer my question Waseem ------------------ visit the next big thing in Information Technology http://www.itstop.com pre-register now Into sport ? goto http://www.sportwebpages.com |
|
#2
|
|||
|
|||
|
Your second question:
Try to make a local script that you reads the GET-input, and sends it as POST-output (to login.asp). Information about how to post forms from Perl: http://www.devshed.com/Talk/Forums/Forum6/HTML/000387.html |
|
#3
|
|||
|
|||
|
Your second question:
Try to make a local script that you reads the GET-input, and sends it as POST-output (to login.asp). Information about how to post forms from Perl: http://www.devshed.com/Talk/Forums/Forum6/HTML/000387.html |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Perl Programming > Lynx with perl |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|