<?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>Sat, 22 Nov 2008 05:30:09 -0600</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Developer Tutorials Blog: Port Scanning and Service Status Checking in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/10376</guid>
      <link>http://www.phpdeveloper.org/news/10376</link>
      <description><![CDATA[<p>
The Developer Tutorials blog has <a href="http://www.developertutorials.com/tutorials/php/port-scanning-and-service-status-checking-in-php-8-06-06/page1.html">posted a new tutorial</a> covering how to scan ports and checking a remote service's status with PHP.
</p>
<blockquote>
Having access to the current status of public servers can empower your applications to make decisions and respond to problems automatically. Acknowledging a service is offline can also save endless support emails. In this tutorial, I'll show you how to keep track of your server status by scanning ports on your server with PHP.
</blockquote>
<p>
They show how to check a remote instance (a socket open with a timeout) and how to run through a list of ports, looping from one to one-thousand and running an fsockopen on each. They make a sample script to show these two combined - a simple page that loops through the common protocols (HTTP, FTP, SSH, etc) and checks to see if the remote machine is running something on that port.
</p>]]></description>
      <pubDate>Tue, 10 Jun 2008 08:46:08 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[AnyExamples.com: PHP Whois Client Function]]></title>
      <guid>http://www.phpdeveloper.org/news/8683</guid>
      <link>http://www.phpdeveloper.org/news/8683</link>
      <description><![CDATA[<p>
On the AnyExamples.com website, there's a <a href="http://www.anyexample.com/programming/php/php_whois_client_function.xml">new little how to</a> on making a whois client in PHP (without just using an exec or similar call to the filesystem).
</p>
<blockquote>
This article contains PHP implementation of whois client (as a function ae_whois), which may be used to request domain information from specified whois servers.
</blockquote>
<p>
Their <a href="http://www.anyexample.com/programming/php/php_whois_client_function.xml">method</a> uses the socket functionality (fsockopen, fwrite, fclose) to make a connection to the remote server for the specified domain's information.
</p>]]></description>
      <pubDate>Wed, 19 Sep 2007 08:43:00 -0500</pubDate>
    </item>
  </channel>
</rss>
