<?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 19:02:07 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Amazium Blog: PHP in the Dark: Input/Output]]></title>
      <guid>http://www.phpdeveloper.org/news/16815</guid>
      <link>http://www.phpdeveloper.org/news/16815</link>
      <description><![CDATA[<p>
On the Amazium blog <i>Jeroen Keppens</i> has a recent post looking at some of tools available to you when needing to <a href="http://www.amazium.com/blog/php-in-the-dark-input-output">filter input and escape output</a> in your applications. This post specifically covers filtering on command line applications.
</p>
<blockquote>
When you need data input in a web context, you send a GET/POST request to your script. On the command line, things work differently. In this blog post, we will talk obout input and output in php-cli.
</blockquote>
<p>The post is broken up into a few different sections:</p>
<ul>
<li><a href="http://www.amazium.com/blog/php-in-the-dark-input-output/#arguments">Handling arguments</a>
<li><a href="http://www.amazium.com/blog/php-in-the-dark-input-output/#file_descriptors">File descriptors</a>
<li><a href="http://www.amazium.com/blog/php-in-the-dark-input-output/#interactive_input">Interactive input</a>
<li><a href="http://www.amazium.com/blog/php-in-the-dark-input-output/#resources">Resources mentioned in the post</a>
</ul>
<p>
Tools mentioned include everything from <a href="http://php.net/getopt">getopt</a> and <a href="http://pear.php.net/package/Console_Getopt">PEAR's' Console_Getopt</a> out to using file descriptors and working with readline.
</p>]]></description>
      <pubDate>Mon, 05 Sep 2011 11:25:32 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPKitchen: PHP Gets a Respectable Shell At Last]]></title>
      <guid>http://www.phpdeveloper.org/news/5325</guid>
      <link>http://www.phpdeveloper.org/news/5325</link>
      <description><![CDATA[<p>
On PHPKitchen today, <i>Demian Turner</i> has posted <a href="http://www.phpkitchen.com/index.php?/archives/747-PHP-Gets-a-Respectable-Shell-At-Last.html">this interesting item</a> about an improved "PHP shell" that has been developed by <a href="http://jan.kneschke.de/projects/php-shell/">Jan Kneschke</a>.
</p>
<quote>
<i>
<p>
For the last few years I've been trying to build the considerable patience required to use the default shell available in PHP. If you have any parse errors, it dies, and of course you have to keep typing "<?php" everytime you re-fire it up.
</p>
<p>
Jan's version is a considerable improvement, and although it doesn't yet handle up-arrow for previous LOC or back-arrow in case you type your parentheses first and want to fill in the variables after, it's a welcome relief to work with. I'm sure it will delay the capitulation when you give up and create a stupid file and request it in a browser just to test some little PHP detail.
</p>
</i>
</quote>
<p>
You can check out <a href="http://jan.kneschke.de/projects/php-shell/">the details here</a> or just download the files directly from <a href="http://jan.kneschke.de/projects/php-shell/PHP_Shell.php.txt">here</a>
</p>]]></description>
      <pubDate>Mon, 08 May 2006 06:49:19 -0500</pubDate>
    </item>
  </channel>
</rss>
