title: how to submit an html form without browser automatically and periodically?
body: <p>My ISP ask me to submit my user/pass in a web page each time i connect to Internet. also it has a maximum logon timeout (about 10 hours) that kick me out and ask me to login again. I need a command prompt script/batchfile for Windows and Linux that automatically submit my account information without the need of opening web browser.</p>
  
  <p>the following html code is the source code of the login page.</p>
  
  <pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;title&gt;EE&gt; login&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;input name="username" type="text" value="username"/&gt;&lt;/td&gt;
  &lt;input name="password" type="password" value="passwordtext"/&gt;&lt;/td&gt;
  &lt;input type="submit" value="OK" /&gt;&lt;/td&gt;
  &lt;script type="text/javascript"&gt;
  &lt;!--
    document.login.username.focus();
  //--&gt;
  &lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>