title: Passing parameters to a CGI program using the URL (python)
body: <p>As the title suggests, I'm trying to pass parameters into my cgi script so that when you type in (for example): www.helloworld.com/cgi-bin/world.py?post=101, the script will display that post</p>
  
  <p>I've tried the following:</p>
  
  <pre><code>link = '&lt;a href="world.py?post=%s"&gt;test&lt;/a&gt;' % postNumber
  
  link = cgi.FieldStorage()
  id = link.getvalue('post')
  print id
  </code></pre>
  
  <p>but the value of id is nothing. It's like it's not reading the link properly or something.</p>
  
  <p>Please help!</p>