<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>code, circuits, &#038; construction &#187; PHP</title>
	<atom:link href="http://www.tigoe.net/pcomp/code/category/category/PHP/feed" rel="self" type="application/rss+xml" />
	<link>http://www.tigoe.net/pcomp/code</link>
	<description>code and fabrication resources for physical computing and networking</description>
	<lastBuildDate>Wed, 21 Jul 2010 20:56:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Blog Housekeeping</title>
		<link>http://www.tigoe.net/pcomp/code/category/PHP/669</link>
		<comments>http://www.tigoe.net/pcomp/code/category/PHP/669#comments</comments>
		<pubDate>Mon, 11 Jan 2010 15:50:27 +0000</pubDate>
		<dc:creator>tigoe</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[arduino/wiring]]></category>
		<category><![CDATA[code repositories]]></category>
		<category><![CDATA[scm]]></category>
		<category><![CDATA[syntax highlighting]]></category>

		<guid isPermaLink="false">http://www.tigoe.net/pcomp/code/?p=669</guid>
		<description><![CDATA[I&#8217;m making some changes to this blog. I&#8217;ve been unhappy about the fact that all the code is static, not the code I use every day. Instead, I want a nice code repository, so whatever I write on my machine &#8230; <a href="http://www.tigoe.net/pcomp/code/category/PHP/669">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://www.tigoe.net/pcomp/code/category/PHP/669/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple Client URL example in PHP</title>
		<link>http://www.tigoe.net/pcomp/code/category/PHP/608</link>
		<comments>http://www.tigoe.net/pcomp/code/category/PHP/608#comments</comments>
		<pubDate>Thu, 08 Oct 2009 16:49:23 +0000</pubDate>
		<dc:creator>tigoe</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.tigoe.net/pcomp/code/?p=608</guid>
		<description><![CDATA[Here&#8217;s a simple example of using the cURL program through PHP&#8217;s client URL library. It&#8217;s a really powerful way to use HTTP, because you can set just about every HTTP option using the library.]]></description>
		<wfw:commentRss>http://www.tigoe.net/pcomp/code/category/PHP/608/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mail form in PHP</title>
		<link>http://www.tigoe.net/pcomp/code/category/PHP/603</link>
		<comments>http://www.tigoe.net/pcomp/code/category/PHP/603#comments</comments>
		<pubDate>Thu, 08 Oct 2009 15:57:42 +0000</pubDate>
		<dc:creator>tigoe</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[forms]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[networks]]></category>

		<guid isPermaLink="false">http://www.tigoe.net/pcomp/code/?p=603</guid>
		<description><![CDATA[Here&#8217;s a simple HTML/PHP form that takes data from the form and sends it in mail via HTTP POST. Save it as formToMe.php:]]></description>
		<wfw:commentRss>http://www.tigoe.net/pcomp/code/category/PHP/603/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RFID to Web Interface</title>
		<link>http://www.tigoe.net/pcomp/code/category/PHP/377</link>
		<comments>http://www.tigoe.net/pcomp/code/category/PHP/377#comments</comments>
		<pubDate>Sat, 07 Mar 2009 17:24:19 +0000</pubDate>
		<dc:creator>tigoe</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[arduino/wiring]]></category>
		<category><![CDATA[mifare]]></category>
		<category><![CDATA[RFID]]></category>
		<category><![CDATA[SM130]]></category>
		<category><![CDATA[SonMicro]]></category>

		<guid isPermaLink="false">http://www.tigoe.net/pcomp/code/?p=377</guid>
		<description><![CDATA[This tutorial introduces a Processing interface sketch provides a GUI for the command-line interface written into the Arduino RFID example. You should read that tutorial first. The sketch shown here also allows you to upload tags it reads to O&#8217;Reilly&#8217;s &#8230; <a href="http://www.tigoe.net/pcomp/code/category/PHP/377">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://www.tigoe.net/pcomp/code/category/PHP/377/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Arduino-based RFID reader</title>
		<link>http://www.tigoe.net/pcomp/code/category/PHP/347</link>
		<comments>http://www.tigoe.net/pcomp/code/category/PHP/347#comments</comments>
		<pubDate>Sat, 07 Mar 2009 16:48:25 +0000</pubDate>
		<dc:creator>tigoe</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[arduino/wiring]]></category>
		<category><![CDATA[RFID]]></category>
		<category><![CDATA[SM130]]></category>
		<category><![CDATA[SonMicro]]></category>
		<category><![CDATA[tinker.it]]></category>

		<guid isPermaLink="false">http://www.tigoe.net/pcomp/code/?p=347</guid>
		<description><![CDATA[This tutorial shows how to make an Arduino-based RFID reader that reads Mifare tags and stores them in EEPROM. It is a modification of Alex Zivanovic&#8216;s code on Tinker.it. Thanks to Alex and Massimo Banzi for the reference. Once you&#8217;ve &#8230; <a href="http://www.tigoe.net/pcomp/code/category/PHP/347">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://www.tigoe.net/pcomp/code/category/PHP/347/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Sensorbase datalogger</title>
		<link>http://www.tigoe.net/pcomp/code/category/PHP/253</link>
		<comments>http://www.tigoe.net/pcomp/code/category/PHP/253#comments</comments>
		<pubDate>Mon, 11 Feb 2008 13:11:16 +0000</pubDate>
		<dc:creator>tigoe</dc:creator>
				<category><![CDATA[Lantronix]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[arduino/wiring]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[making things talk]]></category>
		<category><![CDATA[netobjects]]></category>
		<category><![CDATA[networked objects]]></category>
		<category><![CDATA[pcomp]]></category>
		<category><![CDATA[physical computing]]></category>
		<category><![CDATA[sensorbase]]></category>

		<guid isPermaLink="false">http://www.tigoe.net/pcomp/code/?p=253</guid>
		<description><![CDATA[Sensorbase.org is an open data repository run by the Center for Embedded Networked Sensing at UCLA. It&#8217;s a database of sensor databases. You can upload datasets to it, and you can browse other datasets as well. If you&#8217;ve never set &#8230; <a href="http://www.tigoe.net/pcomp/code/category/PHP/253">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://www.tigoe.net/pcomp/code/category/PHP/253/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Browser Sniffer</title>
		<link>http://www.tigoe.net/pcomp/code/category/PHP/4</link>
		<comments>http://www.tigoe.net/pcomp/code/category/PHP/4#comments</comments>
		<pubDate>Wed, 27 Jun 2007 18:45:03 +0000</pubDate>
		<dc:creator>tigoe</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.tigoe.com/pcomp/code2/?p=4</guid>
		<description><![CDATA[Here's a short PHP script that gathers info about the browser and the IP address of the client and returns it via email.  I used it to gather data on cell phone browsers, and got the results seen at the bottom over the course of a day. <a href="http://www.tigoe.net/pcomp/code/category/PHP/4">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://www.tigoe.net/pcomp/code/category/PHP/4/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Phone calls to a Microcontroller, though Asterisk</title>
		<link>http://www.tigoe.net/pcomp/code/category/PHP/12</link>
		<comments>http://www.tigoe.net/pcomp/code/category/PHP/12#comments</comments>
		<pubDate>Mon, 18 Dec 2006 23:41:27 +0000</pubDate>
		<dc:creator>tigoe</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[arduino/wiring]]></category>

		<guid isPermaLink="false">http://www.tigoe.com/pcomp/code2/php/12</guid>
		<description><![CDATA[Kate Hartman has written a set of PHP examples that allow you to connect to a microcontroller via a phone call using Asterisk.  Thanks to Kate for the link.
 <a href="http://www.tigoe.net/pcomp/code/category/PHP/12">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://www.tigoe.net/pcomp/code/category/PHP/12/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web Scraping using a Microcontroller</title>
		<link>http://www.tigoe.net/pcomp/code/category/PHP/25</link>
		<comments>http://www.tigoe.net/pcomp/code/category/PHP/25#comments</comments>
		<pubDate>Tue, 18 Apr 2006 09:20:41 +0000</pubDate>
		<dc:creator>tigoe</dc:creator>
				<category><![CDATA[Lantronix]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[arduino/wiring]]></category>

		<guid isPermaLink="false">http://www.tigoe.com/pcomp/code2/php/25</guid>
		<description><![CDATA[This program connects a Wiring or Arduino module to the internet through a Lantronix serial-to-ethernet converter (Xport, WiPort, or Micro)....  When the web page comes back, it parses the page for &#60; and &#62; symbols, and takes the string between them. <a href="http://www.tigoe.net/pcomp/code/category/PHP/25">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://www.tigoe.net/pcomp/code/category/PHP/25/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Network Data Logging Suite</title>
		<link>http://www.tigoe.net/pcomp/code/category/PHP/36</link>
		<comments>http://www.tigoe.net/pcomp/code/category/PHP/36#comments</comments>
		<pubDate>Tue, 25 Oct 2005 20:27:47 +0000</pubDate>
		<dc:creator>tigoe</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[PicBasic Pro]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[arduino/wiring]]></category>

		<guid isPermaLink="false">http://www.tigoe.com/pcomp/code2/category/php/36</guid>
		<description><![CDATA[This suite of programs takes data from a sensor and saves it to a text file on a network.  Each sensor reading is time stamped. The suite illustrates the basic principles involved in sending sensor data to a networked file or database.
 <a href="http://www.tigoe.net/pcomp/code/category/PHP/36">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://www.tigoe.net/pcomp/code/category/PHP/36/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Basic XML Parsing Example</title>
		<link>http://www.tigoe.net/pcomp/code/category/PHP/53</link>
		<comments>http://www.tigoe.net/pcomp/code/category/PHP/53#comments</comments>
		<pubDate>Fri, 05 Aug 2005 20:32:38 +0000</pubDate>
		<dc:creator>tigoe</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.tigoe.com/pcomp/code2/category/php/53</guid>
		<description><![CDATA[I also added lines to print the results.Instantiating the class with $xml = new xmlClass() sets up the XML parsing engine and defines handlers that will get called automatically whenever a new XML tag is encountered.  You can parse either a file by using $xml->parse("filename.xml") or a string using $xml->parseString($someString). <a href="http://www.tigoe.net/pcomp/code/category/PHP/53">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://www.tigoe.net/pcomp/code/category/PHP/53/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP to  TCP Socket Form</title>
		<link>http://www.tigoe.net/pcomp/code/category/PHP/54</link>
		<comments>http://www.tigoe.net/pcomp/code/category/PHP/54#comments</comments>
		<pubDate>Sun, 31 Jul 2005 13:30:49 +0000</pubDate>
		<dc:creator>tigoe</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.tigoe.com/pcomp/code2/category/php/54</guid>
		<description><![CDATA[This assumes the remote device accepts the socket connection on the port you choose to connect to.Thanks to John Schimmel for writing the code.&#60;?php/*by John Schimmel, john.schimmel@gmail.comMay 9, 2005This script will display a html form.  On submit, the form will call itself and then check to see if the form element 'text1' is set. If set a socket is made to the define IP address and port and the value of 'text1' is sent down the pipe.The socket then disconnects and the form is redisplayed with the value of 'text1' in the html form's textbox.IMPORTANT: If you are using an XPORT or COBOX change the connect mode to C4so no IP address is being concatenating with the incoming message to the pic....unless you like it that way.*/$xportIP = "128.122.151.44"; //IP adddress to connect to$port = 10001; // port number of IPif ((isset($_POST["text1"])) &#38;&#38; (isset($_POST["ip"])) &#38;&#38; (isset($_POST["port"]))) { //if a filled textbox was submitted $data = $_POST["text1"]; $ip = $_POST["ip"]; $port = $_POST["port"]; $fp = fsockopen ($ip, $port, $errno, $errstr, 30); //open the socket if (!$fp) { //if the socket does not exist echo "$errstr ($errno)\n"; } else { //if the socket exists fputs ($fp, $data); // send the data down the hole to the other end echo "&#60;font size='2' color='navy'&#62;Message Sent: " .
 <a href="http://www.tigoe.net/pcomp/code/category/PHP/54">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://www.tigoe.net/pcomp/code/category/PHP/54/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TCP Socket Server in PHP</title>
		<link>http://www.tigoe.net/pcomp/code/category/PHP/56</link>
		<comments>http://www.tigoe.net/pcomp/code/category/PHP/56#comments</comments>
		<pubDate>Sun, 31 Jul 2005 11:21:18 +0000</pubDate>
		<dc:creator>tigoe</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.tigoe.com/pcomp/code2/category/php/56</guid>
		<description><![CDATA[Run it locally on your own machine; don't try it on a production server first.  It has an endless loop that will keep it going until you kill the process.Thanks to John Schimmel for writing it. <a href="http://www.tigoe.net/pcomp/code/category/PHP/56">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://www.tigoe.net/pcomp/code/category/PHP/56/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
