<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DZone Snippets: fieldstorage code</title>
    <link>http://snippets.dzone.com/posts</link>
    <pubDate>Fri, 25 Jul 2008 07:48:06 GMT</pubDate>
    <description>DZone Snippets: fieldstorage code</description>
    <item>
      <title>Python - Simple Example CGI</title>
      <link>http://snippets.dzone.com/posts/show/3122</link>
      <description>// http://localhost/cgi-bin/example.py?variable=example&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;import cgi&lt;br /&gt;&lt;br /&gt;print 'Content-type: text/html\r\n'&lt;br /&gt;&lt;br /&gt;inputValue = cgi.FieldStorage()&lt;br /&gt;&lt;br /&gt;if(inputValue.has_key('variable')):&lt;br /&gt;  print inputValue['variable'].value&lt;br /&gt;&lt;/code&gt;</description>
      <pubDate>Sun, 10 Dec 2006 16:48:24 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/3122</guid>
      <author>whitetiger ()</author>
    </item>
  </channel>
</rss>
