<?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:21:51 -0600</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[DeveloperTutorials.com: Writing an Email Autoresponder Script with PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/9360</guid>
      <link>http://www.phpdeveloper.org/news/9360</link>
      <description><![CDATA[<p>
The DeveloperTutorials website has a <a href="http://www.developertutorials.com/tutorials/php/writing-an-email-autoresponder-script-with-php-8-01-03/page1.html">new article</a> that steps you through the creation of an autoresponder script for an email account (in qmail).
</p>
<blockquote>
It's very convenient for users to be able to communicate with web applications (or businesses) via email, but it's not always easy for the employees of the company to respond. Some of the email requests could be complex, and others could be simple but occur very frequently. So it's a real advantage when we can write scripts to respond to user emails for us.
</blockquote>
<p>
<a href="http://www.developertutorials.com/tutorials/php/writing-an-email-autoresponder-script-with-php-8-01-03/page1.html">The tutorial</a> sets up a basic structure for you to work from including places for the addresses and extra headers for the response. You can also <a href="http://www.mollerus.net/tom/blog/downloads/autoresponder.script.php.txt">download the code</a> to have it to follow along with (or play around with yourself).
</p>]]></description>
      <pubDate>Fri, 04 Jan 2008 15:58: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[PHPBuilder.com: AJAX and PHP Part 3 - Post vs. Get Requests]]></title>
      <guid>http://www.phpdeveloper.org/news/8368</guid>
      <link>http://www.phpdeveloper.org/news/8368</link>
      <description><![CDATA[<p>
PHPBuilder.com has <a href="http://www.phpbuilder.com/columns/jon_campbell20070730.php3">posted part three</a> of their series looking at building a simple site using PHP and Ajax - this time with a focus on using the POST method instead of GET to push the data back and forth from client to server.
</p>
<blockquote>
The advantage of this is primarily security, however you often can send larger amounts of data with the POST method as well (but that is dependent on your server configuration rather it be Apache/PHP, Microsoft/IIS, or Java/J2EE, etc). The primary advantage of POST is again, the security of the communication, because often log files on the web server will log the AJAX GET request data because that data is part of a URL in the request. This does not occur with the AJAX POST request.
</blockquote>
<p>
They start with a <a href="http://www.phpbuilder.com/columns/jon_campbell20070730.php3">simple example</a> of the POST request type, pulling data from a form (address/city/state/etc) and pushing it to the backend script. They follow this by picking it apart, explaining each of the sections of code for a better understanding.
</p>]]></description>
      <pubDate>Wed, 01 Aug 2007 09:27:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Tiffany Brown's Blog: A better RegEx pattern for matching e-mail addresses]]></title>
      <guid>http://www.phpdeveloper.org/news/6880</guid>
      <link>http://www.phpdeveloper.org/news/6880</link>
      <description><![CDATA[<p>
Though not specifically related to PHP, I wanted to share <a href="http://tiffanybbrown.com/2006/12/12/a-better-regex-pattern-for-matching-e-mail-addresses/">a helpful tip</a> that <i>Tiffany Brown</i> has posted to her blog today - a nice, compact regular expression to handle the matching of email addresses.
</p>
<blockquote>
A few weeks ago, I posted a regular expression pattern < href="http://tiffanybbrown.com/2006/11/09/a-pattern-for-matching-e-mail-addresses/">for matching e-mail addresses</a>. Below is a more refined version:
</blockquote>
[php]
^[-+.w]{1,64}@[-.w]{1,64}.[-.w]{2,6}$
[/php]
<p>
Not only does it match the traditional email address formats, but it also will match addresses with periods in the name, British domains, and new TLDs like '.travel' or '.museum'.
</p>]]></description>
      <pubDate>Wed, 13 Dec 2006 08:15:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News: The Obfuscator]]></title>
      <guid>http://www.phpdeveloper.org/news/6710</guid>
      <link>http://www.phpdeveloper.org/news/6710</link>
      <description><![CDATA[<p>
There's an odd little application that's been brought up that's written in PHP with one purpose - obfuscating an email address/HTML so it's very difficult for a spambot (or other harvesting program) to get a hold of the content and add to its list. <a href="http://bla.st/theobfuscator.php">The Obfuscator</a> takes in an email address and, with the click a button, spits back out the obfusicated code.
</p>
<p>
They're also offering <a href="http://bla.st/obfuscate_source.php">the source</a> for the application so you can get behind the scenes and see how it works. It definitely does a good job at making things more difficult, but I'm not sure how useful it really is in practice. If you're just using it to drop into a one-time kind of location, it would work, but the results this thing spits out would be a nightmare to maintain (especially the HTML). 
</p>
<p>
One good thing, though, is that too the user, it all looks seamless. There's no funny characters or things they'd have to change in their browser to get it to work.
</p>]]></description>
      <pubDate>Wed, 15 Nov 2006 08:58:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: 30 Minutes with Jeremy Johnstone]]></title>
      <guid>http://www.phpdeveloper.org/news/6536</guid>
      <link>http://www.phpdeveloper.org/news/6536</link>
      <description><![CDATA[<p>
In the neverending stream of interview that comes out of the Zend Developer Zone, <i>Cal Evans</i> is back with <a href="http://devzone.zend.com/node/view/id/1091">notes from his talk</a> with <i>Jeremy Johnstone</i>, a speaker at this year's OSCON.
</p>
<blockquote>
I had nothing on Jeremy, all I knew was that he was speaking at OSCON and he worked at Yahoo. As it turns out, it was a very interesting interview. Not for the normal reasons though. If you want more, you'll have to come inside and read the interview.
</blockquote>
<p>
Well, I'll cheat a bit and tell you some of the topics <a href="http://devzone.zend.com/node/view/id/1091">they talked about</a> such as:
<ul>
<li><i>Jeremey</i>'s experience and background
<li>his experience at Yahoo!
<li>some of the work he's done there (including the Address Book application)
<li>Yahoo!'s move to PHP 5
<li>everyone's favorite topic - "disaster recovery"
</ul>
That's all I'm giving you, though - for the rest, you'll need to <A href="http://devzone.zend.com/node/view/id/1091">check out the full interview</a>.
</p>]]></description>
      <pubDate>Thu, 19 Oct 2006 15:07:04 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPMac.com: IP Banning]]></title>
      <guid>http://www.phpdeveloper.org/news/4937</guid>
      <link>http://www.phpdeveloper.org/news/4937</link>
      <description><![CDATA[PHPMac.com has posted <a href="http://phpmac.com/articles.php?view=248">a quick tutorial</a> on how to "ban an IP" from your site.
<p>
<quote>
<i>
Blocking certain IP addresses from your site is actually much easier than you might think.
<p>
In fact, it is only a seven-line code inserted at the top of your page!
</i>
</quote>
<p>
<a href="http://phpmac.com/articles.php?view=248">The code</a> basically just looks in an array of IP values and checks to see if the remote user's matches any of them. If it does, it echos out an error and stops the page execution. Obviously, this is just a basic example, and could be enhanced with a databse table that would be easier to manage than just the static array.]]></description>
      <pubDate>Mon, 06 Mar 2006 07:18:29 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP Magazine: The State of the PEAR Address]]></title>
      <guid>http://www.phpdeveloper.org/news/4448</guid>
      <link>http://www.phpdeveloper.org/news/4448</link>
      <description><![CDATA[<a href="http://www.phpmag.net">PHP Magazine</i> has posted <A href="http://www.phpmag.net/magphpde/magphpde_article/psecom,id,745,nodeid,21.html">this new article</a> from <i>Lukas Smith</i> today with a "State of the PEAR Address", an overview of where PEAR stands in the PHP community today.
<p>
<quote>
<i>
For those of you who have been living under a rock the last few years, you may have managed to evade PEAR. However, avid readers of the <a href="http://www.php-mag.net/">International PHP Magazine</a> will <a href="http://phpmag.net/itr/online_artikel/psecom,id,388,nodeid,114.html">know PEAR quite well</a>, so here is a quick run down.
</i>
</quote>
<p>
He <a href="http://www.phpmag.net/magphpde/magphpde_article/psecom,id,745,nodeid,21.html">goes through</a> a look at what PEAR is, the debates over its structure, monitoring for "high-quality non-redundant code", what checks and balances are in place, the myth of bloated PEAR code, how you can contribute, and a call to action for all developers out there to get involved. There's a lot more in there than that, but you'll have to check out the whole article for that...]]></description>
      <pubDate>Tue, 06 Dec 2005 07:49:25 -0600</pubDate>
    </item>
  </channel>
</rss>
