<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>

<channel>
	<title>Inkless.org</title>
	<atom:link href="http://inkless.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://inkless.org</link>
	<description>Technology-based investigation</description>
	<pubDate>Sat, 05 Jul 2008 04:04:27 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Upcoming.org ID lookup by city and state</title>
		<link>http://inkless.org/archives/upcoming-id-lookup-by-city-and-state/</link>
		<comments>http://inkless.org/archives/upcoming-id-lookup-by-city-and-state/#comments</comments>
		<pubDate>Sat, 05 Jul 2008 01:20:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Downloads]]></category>

		<guid isPermaLink="false">http://inkless.org/?p=15</guid>
		<description><![CDATA[Here&#8217;s a simple form that uses POST variables and a PHP Upcoming API wrapper to return city and state IDs from the Upcoming API.

Location (city, state)



We&#8217;ve included a link to our code below, so you can see how we do it. You can use our code by including the upcomingLookup.php file and executing the getStateID($state) [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a simple form that uses POST variables and a <a href="http://www.naxxtor.com/upcoming_api/">PHP Upcoming API wrapper</a> to return city and state IDs from the Upcoming API.</p>
<form name='form_virtue' method='POST' action='/code/upcoming/test.php'>
<strong style='font:24px georgia;'>Location (city, state)</strong></p>
<input class='input' type='text' id='location' name='location' size='32' value='' />
<input type='submit'  style='height:30px;width:90px;'>
<p></p>
<p>We&#8217;ve included a link to our code below, so you can see how we do it. You can use our code by including the <code>upcomingLookup.php</code> file and executing the <code>getStateID($state)</code> and <code>getMetroID($city, $state)</code> functions.</p>
<p><a class="quickcode" title="Code" href="javascript:toggleLayer('quickcode151');">Example code</a></p>
<div id="quickcode151" class="quickcode"><code>include ('upcomingLookup.php');<br />
echo getStateID("California")</code></div>
<p>Requirements:</p>
<ul>
<li><a href="http://pear.php.net/package/HTTP_Request/">PEAR HTTP_Request</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://inkless.org/archives/upcoming-id-lookup-by-city-and-state/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
