Tips for Coding PHP for Unix consoles
I found that PHP today are no longer restricted to web browsers. Especially since AJAX came to light. PHP with AJAX can be used together to form a system application. Application that runs on consoles and not on web browsers. Got to work on console based application with PHP ? Need some tips ?
You can visit Christophh “PHP Unix Programming” for three tips on console programming with PHP on Unix-like environment. He describes :
- Clean up your mess
- Writing error output
- Read Input Piped-In from other commands
All very useful tips. Use them wisely.