<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Wed, 22 May 2013 11:12:39 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[PHPMaster.com: Access the Windows Registry from PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/18462</guid>
      <link>http://www.phpdeveloper.org/news/18462</link>
      <description><![CDATA[<p>
New on PHPMaster.com today there's a tutorial showing you how to <a href="http://phpmaster.com/access-the-windows-registry-from-php/">access the Windows registry with PHP</a> with the help of the <a href="http://downloads.php.net/pierre/">win32std extension</a>.
</p>
<blockquote>
The Windows Registry is simply a hierarchically structured database in which the Windows operating system and other applications store important configuration information. All sorts of data is stored in the registry: user profiles, file-type associations, hardware information, serial numbers, and more. With functions available from the win32std extension, your Windows-based PHP applications can access the registry too. The win32std extension can be downloaded as a pre-compiled library from <a href="http://downloads.php.net/pierre/">downloads.php.net/pierre/</a>. Simply drop it into your PHP's ext folder, update your php.ini file, and restart Apache if necessary.
</blockquote>
<p>
The article talks a bit about the general layout of the registry, the main five keys and the encouragement of making a sandbox registry to perform your operations on rather than taking a chance. He shows how to use the extension's functions to read from the registry and write back out to a certain key. Their example application performs a check on the registry to see if a USB dongle is attached to the system based on a key being set and the device ID.
</p>]]></description>
      <pubDate>Mon, 10 Sep 2012 15:27:26 -0500</pubDate>
    </item>
  </channel>
</rss>
