<?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>Mon, 06 Oct 2008 18:49:58 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[DevShed: Implementing Internet Protocols with PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/10336</guid>
      <link>http://www.phpdeveloper.org/news/10336</link>
      <description><![CDATA[<p>
On DevShed today, there's a <a href="http://www.devshed.com/c/a/PHP/Implementing-Internet-Protocols-with-PHP/">new tutorial</a> on showing how to create a simple application to use one of the simpler protocols - FTP.
</p>
<blockquote>
PHP has many functions that help us to implement Internet and/or networking protocols. In this article, we will look at how to implement some of those protocols using PHP.
</blockquote>
<p>
They introduce the FTP functions for PHP (a basic list, PHP manual style) and include the code - the CSS to make it easier to use and the PHP code to make the FTP connection and grab the remote file listing. A <a href="http://images.devshed.com/ds/stories/Internet_Protocols/cntrlpanel.PNG">screenshot</a> is included to give you an idea of the end result.
</p>]]></description>
      <pubDate>Wed, 04 Jun 2008 09:32:22 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Ed Finkler's Blog: Zend Studio for Eclipse and SFTPDrive not on speaking terms]]></title>
      <guid>http://www.phpdeveloper.org/news/9826</guid>
      <link>http://www.phpdeveloper.org/news/9826</link>
      <description><![CDATA[<p>
<i>Ed Finkler</i>, a long-time user of <a href="http://www.sftpdrive.com/">SFTPDrive</a> on his Windows machine, has noticed something a bit odd lately when using the new Zend Studio (Eclipse):
</p>
<blockquote>
For some reason, ZSfE just doesn't show me my 'k:' drive (the SFTP mount) when browsing for a project directory. This throws a real wrench in my usual workflow '" ZS 5.5 had built-in SFTP support, and I could also use the local mount if I wanted.
</blockquote>
<p>
Finding nothing in the traditional places, he's <a href="http://funkatron.com/site/comments/zend-studio-for-eclipse-and-sftpdrive-not-on-speaking-terms/#When:14:40:00Z">made this blog post</a> hoping someone might have the answer. Turns out that the fix (as provided by <i>Josh Johnston</i>) is to create a new project around a new Remote Folder.
</p>]]></description>
      <pubDate>Thu, 20 Mar 2008 07:58:09 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Demian Turner's Blog: Seagull 0.6.4 Release (fixes Security Isse from 0.6.3)]]></title>
      <guid>http://www.phpdeveloper.org/news/9496</guid>
      <link>http://www.phpdeveloper.org/news/9496</link>
      <description><![CDATA[<p>
<i>Demian Turner</i> has <a href="http://www.phpkitchen.com/index.php?/archives/801-New-Release-of-the-Seagull-framework-0.6.3.html">posted about</a> the latest version of the Seagull framework (0.6.3) and an update to correct a remote file disclosure issue (up to version 0.6.4).
</p>
<blockquote>
Well it took a bit of time but after quite a few months a <a href="http://seagullproject.org/download/">new release of Seagull is finally out</a>, 0.6.3 (0.6.4). Things have been keeping pretty busy with the startup I'm working on, but it's been a great opportunity to refine some features of the framework and optimize the performance. 
The early indications are good, after less than 10 weeks of going live Kindo users are creating up to 20k profiles/day and the server load is staying comfortably below 0.5.
</blockquote>
<p>
<a href="http://www.phpkitchen.com/index.php?/archives/802-Seagull-0.6.3-Remote-File-Disclosure-Vulnerability-Please-Upgrade.html">The update</a> is a <a href="http://seagullproject.org/download/">different download</a> that helps correct an issue with the framework allowing user-inputted values from the GET string. Be sure and update your version to keep this security issue under wraps.
</p>]]></description>
      <pubDate>Fri, 25 Jan 2008 10:32:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Chris Hartjes' Blog: How To HTTP-PUT A File Somewhere Using PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/9415</guid>
      <link>http://www.phpdeveloper.org/news/9415</link>
      <description><![CDATA[<p>
<i>Chris Hartjes</i> has a <a href="http://www.littlehart.net/atthekeyboard/2008/01/11/how-to-http-put-a-file-somewhere-using-php/">quick post</a> (but complete with code) about moving files around a bit differently than the norm - it's his method for using a HTTP-PUT to push a file out.
</p>
<blockquote>
A work project is getting close to 0.1 status. Pretty underwhelming, I know. One of the last 'milestones' for 0.1 is taking these wonderful XML documents that my web app creates and sends them to an internal web service. This web service will accept documents via an HTTP PUT [...] so I dug around a bit on the web and put together some code.
</blockquote>
<p>
The code is a generic "publish" method that opens a stream to the remote server and, in a binary format, pushes the contents of a local file and parses out the response.
</p>]]></description>
      <pubDate>Mon, 14 Jan 2008 09:39:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[DeveloperTutorials.com: Scraping Links With PHP  ]]></title>
      <guid>http://www.phpdeveloper.org/news/9414</guid>
      <link>http://www.phpdeveloper.org/news/9414</link>
      <description><![CDATA[<p>
The Developer Tutorials site has posted a new article <a href="http://www.developertutorials.com/tutorials/php/scraping-links-with-php-8-01-05/page1.html">covering the creation</a> of a small application that can help you scrape content from a remote page and pull it into your script.
</p>
<blockquote>
In this tutorial you will learn how to build a PHP script that <a href="http://en.wikipedia.org/wiki/Web_scraping">scrapes</a> links from any web page.
</blockquote>
<p>
You'll learn to use cURL, the DOM functions, XPath and a bit of MySQL to get the job done. It's nice to see that they also include <a href="http://www.developertutorials.com/tutorials/php/scraping-links-with-php-8-01-05/page9.html">a section</a> looking at one of the more touchy aspects of web page scraping - "is it legal?"
</p>]]></description>
      <pubDate>Mon, 14 Jan 2008 08:44:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Gareth Heyes' Blog: Faking the unexpected]]></title>
      <guid>http://www.phpdeveloper.org/news/9167</guid>
      <link>http://www.phpdeveloper.org/news/9167</link>
      <description><![CDATA[<p>
<i>Gareth Heyes</i> has <a href="http://www.thespanner.co.uk/2007/12/02/faking-the-unexpected/">an example</a> of yet another way he's seen developers incorrectly handle incoming connections and the information inside. This time, he focuses on the remote IP coming from the client.
</p>
<blockquote>
Developers place too much trust in everything, they assume that certain data cannot be faked and therefore these pieces of data can be used as a Trojan horse. Lets take the REMOTE IP of a user, it seems a trusted source because of the TCP/IP connection between the user and the server.
</blockquote>
<p>
He points out the difference between HTTP_X_FORWARDED_FOR and REMOTE_ADDR and how, despite them being the same almost all of the time, shouldn't be trusted since they could be spoofed. He even includes an example script showing how it could be done (and how a bit of Javascript can even be inserted).
</p>]]></description>
      <pubDate>Tue, 04 Dec 2007 08:36:04 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News: Ubuntu Updates PHP Packages]]></title>
      <guid>http://www.phpdeveloper.org/news/9148</guid>
      <link>http://www.phpdeveloper.org/news/9148</link>
      <description><![CDATA[<p>
The Ubuntu linux group has <a href="http://www.ubuntu.com/usn/usn-549-1">released an update</a> for their PHP packages to help protect their users from issues like security bypass and remote exploits.
</p>
<blockquote>
This fixes a weakness and some vulnerabilities, where some have unknown impacts and others can be exploited by malicious, local users to bypass certain security restrictions and by malicious users to bypass certain security restrictions.
</blockquote>
<p>
Packages can either be <a href="http://www.ubuntu.com/usn/usn-549-1">downloaded manually</a> or via the linux distro's package manager. This advisory also applies to the corresponding versions of Kubuntu, Edubuntu, and Xubuntu.
</p>]]></description>
      <pubDate>Fri, 30 Nov 2007 08:41:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP Discovery Blog: Dangers of Remote Execution]]></title>
      <guid>http://www.phpdeveloper.org/news/9092</guid>
      <link>http://www.phpdeveloper.org/news/9092</link>
      <description><![CDATA[<p>
On the PHP Discovery blog, there's a <a href="http://phpdiscovery.com/dangers-of-remote-execution/">new post</a> reminding PHP developers of some of the more dangerous ways that remote execution could effect your site and some of the common entry points it can have.
</p>
<blockquote>
PHP has numerous ways to execute raw PHP code unless you the programmer stops it.  Best way in preventing these methods is making sure you check the input of what your users are inputting, and making sure you escape all malicious actions that a hacker,cracker, kiddy scripter might want to do to your website. 
</blockquote>
<p>
He summarizes four of the things from the <a href="http://apress.com/book/view/1590595084">Pro PHP Security</a> book from Apress (by <i>Chris Snyder</i> and <i>Michael Southwell</i>) that can leave holes in you application for would-be explots - preg_replace, shell_exec/exec, eval (which we all know is only one letter from "evil" anyway) and require/include.
</p>]]></description>
      <pubDate>Wed, 21 Nov 2007 13:48:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Jonathan Street's Blog: When scraping content from the web don't make it obvious]]></title>
      <guid>http://www.phpdeveloper.org/news/8992</guid>
      <link>http://www.phpdeveloper.org/news/8992</link>
      <description><![CDATA[<p>
<i>Jonathan Street</i> <a href="http://torrentialwebdev.com/blog/archives/125-When-scraping-content-from-the-web-dont-make-it-obvious.html">has a tip</a> for those developers out there that have no other choice than scraping content from a remote site - don't make it obvious. He also includes a suggestion on how to make it a little less obvious.
</p>
<blockquote>
A couple of hours ago I was playing around scraping some content from a website. All was going well until suddenly I couldn't get my script to fetch meaningful content. [...] The first thing I did was stop visiting the site for 15 minutes or so and then increase the time between requests. It briefly worked again but quickly stopped.
</blockquote>
<p>
One simple change to his user agent string in his php.ini made the problem evaporate pointing to a user agent filtering happening on the remote side. His helpful hint involves two methods - one in just PHP and the other in cURL - to change the user agent that your scripts are sending. An even better sort of solution might be some sort of rotating array that would alternate between four or five strings to make things even more random.
</p>]]></description>
      <pubDate>Wed, 07 Nov 2007 11:26:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News: rPath Updates PHP, PHP-MySQL and PHP-PGSQL Packages]]></title>
      <guid>http://www.phpdeveloper.org/news/8904</guid>
      <link>http://www.phpdeveloper.org/news/8904</link>
      <description><![CDATA[<p>
rPath linux has <a href="http://lists.rpath.com/pipermail/security-announce/2007-October/000269.html">issued an update</a> to their packages for PHP, PHP-MySQL and PHP-PGSql to correct issues that could make it possible for a remote user to gain unauthorized access.
</p>
<blockquote>
his fixes some vulnerabilities, where some have unknown impacts and others can be exploited by malicious users to bypass certain security restrictions or by malicious people to potentially compromise a vulnerable system.
</blockquote>
<p>
References and links to the update information can be found in their <a href="http://lists.rpath.com/pipermail/security-announce/2007-October/000269.html">original advisory</a>.
</p>]]></description>
      <pubDate>Thu, 25 Oct 2007 10:31:00 -0500</pubDate>
    </item>
  </channel>
</rss>
