<?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>Sun, 12 Feb 2012 18:20:35 -0600</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Evert Pot's Blog: Internationalized domain names, are you ready?]]></title>
      <guid>http://www.phpdeveloper.org/news/15328</guid>
      <link>http://www.phpdeveloper.org/news/15328</link>
      <description><![CDATA[<p>
In a new post to his blog <i>Evert Pot</i> looks at <a href="http://www.rooftopsolutions.nl/blog/internationalized-domain-names-are-you-ready">internationalized domain names</a> and where they could cause issues some of the current validation in PHP applications.
</p>
<blockquote>
Since may 11 TLD's (top-level domain names) have been added. In order for this to work successfully, a lot of applications will have to be fixed. Many email-validation scripts might use [a regular expression] approach [to match most address formats].
</blockquote>
<p>
Unfortunately, this approach will only continue to work with the normal ASCII-based domain names. He includes a list of several that could break it including ones in Chinese, Korean, Persian, Russian and Arabic. He recommends a very liberal regular expression (one that allows for "punycode" strings) to check the email, find the record and try to find an MX record on that domain.
</p>]]></description>
      <pubDate>Mon, 25 Oct 2010 09:44:13 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Mark Karpeles' Blog: proctitle: a new step for pinetd]]></title>
      <guid>http://www.phpdeveloper.org/news/11793</guid>
      <link>http://www.phpdeveloper.org/news/11793</link>
      <description><![CDATA[<p>
If you've ever worked with forking processes in PHP, you know things can get a little difficult when you have more than one process going at a time. Identification can become a hassle, especially if you need to kill one off because of performance issues. If you've found yourself in this spot before, you might want to check out <a href="http://blog.magicaltux.net/2009/01/21/proctitle-a-new-step-for-pinetd/">this update</a> <i>Mark Karpeles</i> has made to his <a href="http://www.pinetd.net/">pinetd</a> project to allow for naming of those forked processes.
</p>
<blockquote>
Ever wanted to give meaningful names to your processes when you pcntl_fork() with PHP ? proctitle is the extension you're looking for!
Adapted from <a href="http://bugs.php.net/29479">bug report #29479</a> and code initially wrote by <a href="http://en.wikipedia.org/wiki/User:Midom">Midom</a> for Wikipedia, the proctitle extension allows for a process to change its own displayed title in the system's process list.
</blockquote>
<p>
The extension (seen in action <a href="http://blog.magicaltux.net/wp-content/uploads/2009/01/viva_pinetd1.png">here</a>) is an interface for making different sorts of daemons, including the ability to give them names. You can check out the project <a href="http://ookoo.org/svn/proctitle/">here</a>.
</p>]]></description>
      <pubDate>Thu, 22 Jan 2009 11:12:17 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Doug Hill's Blog: 60 Days : What is it?]]></title>
      <guid>http://www.phpdeveloper.org/news/11621</guid>
      <link>http://www.phpdeveloper.org/news/11621</link>
      <description><![CDATA[<p>
<i>Doug Hill</i> has <A href="http://www.phpaddiction.com/tags/60-days/what-is-it/">proposed a new project</a> that he hopes to get the community behind - 60 Days:
</p>
<blockquote>
60 Days is an idea I had while trying to decide what to do with the domains I have sitting around doing nothing - (well nothing but being a nagging reminder that I'll never have time for every idea that pops into my head, and that domain names cost money to keep).
</blockquote>
<p>
The goal of the project is to take a domain you're not currently using (and you know you have some out there) and making something - a "real world project" - on it in 60 days. the catch is that, for each domain you use for the effort, it has to be a different PHP framework. Keep an eye out for the January 1 launch date for more details.
</p>]]></description>
      <pubDate>Wed, 24 Dec 2008 12:33:35 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[David Otton's Blog: Stupid PHP Tricks: Illegal Variable Names]]></title>
      <guid>http://www.phpdeveloper.org/news/10885</guid>
      <link>http://www.phpdeveloper.org/news/10885</link>
      <description><![CDATA[<p>
<i>David Otton</i> has shared another of his "stupid PHP tricks" on his blog today. <A href="http://www.otton.org/2008/08/21/stupid-php-tricks-illegal-variable-names/">This one</a> looks at illegal variable names that don't match the "can't start with a number" rule the manual points out.
</p>
<blockquote>
A valid variable name starts with a letter or underscore, followed by any number of letters, numbers, or underscores. As a regular expression, it would be expressed thus: '[a-zA-Z_x7f-xff][a-zA-Z0-9_x7f-xff]*'
</blockquote>
<p>
Technically, you can get around this in two different ways - variable varaibles and the more complex notation with curly braces. He points to the <a href="http://www.php.net/compact">compact</a> function for proof that they're set.
</p>]]></description>
      <pubDate>Fri, 22 Aug 2008 13:47:52 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Amir Saied's Blog: PEAR bash completion]]></title>
      <guid>http://www.phpdeveloper.org/news/10696</guid>
      <link>http://www.phpdeveloper.org/news/10696</link>
      <description><![CDATA[<p>
<i>Amir Saied</i> <a href="http://gluegadget.com/blog/index.php?/archives/27-PEAR-bash-completion.html">recently posted</a> a handy little tool for the PEAR users out there - a bash script that handles tab completion for you.
</p>
<blockquote>
Lately I've been playing alot with the PEAR CLI.  The one annoying thing I noticed the most was its lack of tab completion that I'm used to from the shell.  It turns out that this feature is very easy to add, in the bash at least.
</blockquote>
<p>
It will finish off the PEAR commands for you and expand out the PEAR package names and discovered channels when it finds a match. You can <a href="http://gluegadget.com/misc/pear">download the package here</a>.
</p>]]></description>
      <pubDate>Mon, 28 Jul 2008 12:08:29 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Retrieving Information on Selected Files with a PHP 5 File Uploader]]></title>
      <guid>http://www.phpdeveloper.org/news/9866</guid>
      <link>http://www.phpdeveloper.org/news/9866</link>
      <description><![CDATA[<p>
DevShed has continued their series (here's <a href="http://www.phpdeveloper.org/news/9830">part one</a>) looking at the use of file uploading in your PHP scripts. They build on that foundation and add in some more useful features <a href="http://www.devshed.com/c/a/PHP/Retrieving-Information-on-Selected-Files-with-a-PHP-5-File-Uploader/">this time</a>:
</p>
<blockquote>
The initial script in the first tutorial of this series lacked some important features, such as the implementation of an effective error handling module and the ability to check the MIME type and size of the file being uploaded. In this second installment of the series, I'm going to improve the logic of the script from the first tutorial to provide it with the capacity to retrieve useful information concerning the entire file uploading process.
</blockquote>
<p>
They <a href="http://www.devshed.com/c/a/PHP/Retrieving-Information-on-Selected-Files-with-a-PHP-5-File-Uploader/1/">look back</a> at the previous tutorial to remind you of some of the concepts and then move on to show you how to <a href="http://www.devshed.com/c/a/PHP/Retrieving-Information-on-Selected-Files-with-a-PHP-5-File-Uploader/2/">get information</a> about the file (like the MIME type, name and size of the uploaded file). The <a href="http://www.devshed.com/c/a/PHP/Retrieving-Information-on-Selected-Files-with-a-PHP-5-File-Uploader/3/">last page</a> is just the full source code for the cut and pasters out there.
</p>]]></description>
      <pubDate>Thu, 27 Mar 2008 09:31:04 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Funcaday.com: Special Valentines Day Edition (isLove)]]></title>
      <guid>http://www.phpdeveloper.org/news/9630</guid>
      <link>http://www.phpdeveloper.org/news/9630</link>
      <description><![CDATA[<p>
Besides all of the usual Valentines day logo fun from some of the <a href="http://www.google.com">major</a> <a href="http://youtube.com">sites</a> out there, <i>Paul Reinheimer</i> also <a href="http://blog.preinheimer.com/index.php?/archives/264-Happy-Valentines-Day-The-funcaday-way.html">points out</a> a special little something on the <a href="http://funcaday.com/">Funcaday.com</a> website:
</p>
<blockquote>
Want a custom one to share with someone you care about. Fill out the form <a href="http://funcaday.com/form.php">here</a>. It's a subtle effect though, they'll need to read it. Valid characters for names are just alphabetics and the underscore, sorry.
</blockquote>
<p>
The custom output is a great little addition to the site - put in person one's name and person two's name and it <a href="http://funcaday.com/?d=Y2hyaXM6cGhw">updates the image</a> to show the new parameters. Ah, geek love...
</p>]]></description>
      <pubDate>Thu, 14 Feb 2008 08:49:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[The Northclick Blog: Announcing "dropr" - the message queue framework for PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/9204</guid>
      <link>http://www.phpdeveloper.org/news/9204</link>
      <description><![CDATA[<p>
On the Northclick Blog <i>Soenke Ruempler</i> has shared the new name for their message queue software they're developing (<a href="http://www.phpdeveloper.org/news/9198">see here</a>) - <a href="https://www.dropr.org/">dropr</a>.
</p>
<blockquote>
Why? When Boris was writing the client angel script he somehow named it "dropr". As we neither got better suggestions nor had any other idea we just decided for this name. Actually the name is a little bit fun because all those stupidR startupRs. But it's nice and somehow our framework drops message into queues.
</blockquote>
<p>
Check out <a href="https://www.dropr.org/">the project's homepage</a> for more information including installation instructions, methods to download the latest version, some FAQs and a roadmap for where the project's going.
</p>]]></description>
      <pubDate>Mon, 10 Dec 2007 08:48:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Stefan Koopmanschap's Blog: Tip: use clearly readable variable names, and constants!]]></title>
      <guid>http://www.phpdeveloper.org/news/9180</guid>
      <link>http://www.phpdeveloper.org/news/9180</link>
      <description><![CDATA[<p>
<i>Stefan Koopmanschap</i> has <a href="http://www.leftontheweb.com/message/Tip_use_clearly_readable_variable_names_and_constants">a good reminder</a> for developers out there in a new post to his blog - make your code much easier to understand via readable variable names and constants.
</p>
<blockquote>
Yes, you know what code you write and you also know how it works. You can find your way around it. But what if you haven't touched a piece of code for months or even years. Or what if someone else needs to work with your code. Prevent a hell: use clearly readable variable names and constants.
</blockquote>
<p>
He points out an example of what not to do - a specific line from the FUDForum code with multiple variables named with a single letter of the alphabet in a complex if() evaluation. He suggests even using "namespacing" of sorts (PHP6 here we come!) to help compartmentalize your variables to make things even easier.
</p>]]></description>
      <pubDate>Wed, 05 Dec 2007 12:05:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Hasin Hayder's Blog: Did you know 'you can have cheese burger' could be a variable name?]]></title>
      <guid>http://www.phpdeveloper.org/news/8895</guid>
      <link>http://www.phpdeveloper.org/news/8895</link>
      <description><![CDATA[<p>
<i>Hasin Hayder</i> has a <a href="http://hasin.wordpress.com/2007/10/20/did-you-know-you-can-have-cheese-burger-could-be-a-variable-name/">quick tip</a> for users of SimpleXML - a handy way to access a node in an XML document that has unsupported characters in its name.
</p>
<blockquote>
I was finding a way to refer that element as a SimpleXMLElement and found a nifty note in PHP Manual. It says if you have unsupported (unsupported in PHP Lexicon for a variable name) characters inside the name of a node, you can access it using a special pattern {'name'}.
</blockquote>
<p>
In <a href="http://hasin.wordpress.com/2007/10/20/did-you-know-you-can-have-cheese-burger-could-be-a-variable-name/">his example</a>, he shows how a popular phrase ("i can have cheese burger") can be used as the variable name despite having spaces in it.
</p>]]></description>
      <pubDate>Wed, 24 Oct 2007 08:57:00 -0500</pubDate>
    </item>
  </channel>
</rss>

