title: Passing CGI parameters to a form via an URL
body: <p>I am trying to pass arguments to this CGI form (<a href="http://www.westegg.com/inflation/" rel="nofollow noreferrer">http://www.westegg.com/inflation/</a>) through the URL, so I don't have to manually type them in, and so that I can generate URLs through other means for faster use.</p>
  
  <p>Here is the CGI form code from the site:</p>
  
  <pre><code>&lt;form action="infl.cgi" method="post"&gt;
  
  Enter the amount of money: &lt;input name="money" type="text" size="9"&gt;
  
  &lt;p&gt;
  
  Enter the initial year (1800-2008): 
  &lt;input name="first" type="text" size="4" maxlength="4"&gt;
  
  &lt;p&gt;
  
  Enter the final year (1800-2008):
  &lt;input name="final" type="text" size="4" maxlength="4" value="2007"&gt;
  
  &lt;p&gt;
  &lt;center&gt;
  
      &lt;input type="submit" value="Submit"&gt;
  &lt;/center&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>I've tried passing arguments via the "?" and "&amp;" syntax, but none of these work:</p>
  
  <pre><code>http://www.westegg.com/inflation/infl.cgi?money=1&amp;first=1800&amp;last=1900
  http://www.westegg.com/inflation/infl.cgi?money="1.00"&amp;first="1800"&amp;last="1900"
  </code></pre>
  
  <p>Thanks for your help :)</p>