LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Problem with links programm. (https://www.linuxquestions.org/questions/programming-9/problem-with-links-programm-692730/)

beckss 12-24-2008 07:21 AM

Problem with links programm.
 
Hi!
I write sctipt for aytomatic checking into IE stas.html ->
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<script type="text/javascript" src="newdata.submit()"></script>
</head>
<body onload="newdata.submit()">
<form id="newdata" name="newdata" method="post" action="http://noadev4.nice.com:5303/OA_HTML/fndvald.jsp">
<input type="hidden" name="username" value="sysadmin">
<input type="hidden" name="password" value="nice2know">
<input type="submit" type="hidden" value="Login for APPS">
</form>
</body>
</html>
and it work fine.
I want to launch it from linux with "links" command and it wait for my post command. After that I "enter" it also ask me for posting my url ( http://...../fndvald.jsp see from above piece of code) and only after pressing to "yes" I launch successfully my ERP page.
My question is
How I can automatic posting command (without enter and yes) for my stas.html page.

Thanks and best regards, Stas.


All times are GMT -5. The time now is 08:14 PM.