News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Amazium Blog:
PHP in the Dark Input/Output
September 05, 2011 @ 11:25:32

On the Amazium blog Jeroen Keppens has a recent post looking at some of tools available to you when needing to filter input and escape output in your applications. This post specifically covers filtering on command line applications.

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.

The post is broken up into a few different sections:

Tools mentioned include everything from getopt and PEAR's' Console_Getopt out to using file descriptors and working with readline.

0 comments voice your opinion now!
input output filter arguments readline options


blog comments powered by Disqus

Similar Posts

DevX.com: Add the Graphics Power of SVG to PHP

Paul Jones' Blog: Sanitation with PHP filter_var()

DevShed: Using HTTP Compression in PHP - Make Your Web Pages Load Faster

Pierre-Alain Joye's Blog: ext/filter, API frozen (!) and fixes, 0.11.0 is out

Pierre-Alain Joye's Blog: PEAR-1.4.10 released, open_basedir support enhanced


Community Events





Don't see your event here?
Let us know!


conference series community list language threedevsandamaybe laravel development release podcast framework bugfix code zendserver interview api deployment symfony introduction tips

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework