News Feed
Sections




News Archive
feed this:

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


PHPKitchen:
PHP Gets a Respectable Shell At Last
May 08, 2006 @ 06:49:19

On PHPKitchen today, Demian Turner has posted this interesting item about an improved "PHP shell" that has been developed by Jan Kneschke.

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 "

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.

You can check out the details here or just download the files directly from here

0 comments voice your opinion now!
shell interactive functionality better readline customize internals shell interactive functionality better readline customize internals



Community Events





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


voicesoftheelephpant tool opinion introduction language update framework application laravel interview package composer security release community podcast series library symfony version

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