Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact
PHP Standalone - keyboard to screen

PHP is a web language. Yes. And No. You can use it "standalone" too, and we often do so; to develop a whole lot of functions for web use in PHP, then duplicates in some other language, would be frankly silly after all.

And so it is that during the current course, I've been running rather more demos from the command line than I usually would - it suits the group, and works well. And I've made an interesting discovery - that the phpinfo function reformats its output well for the command line. Let me show you ...

grahamellis$ php
<?php phpinfo() ?>
phpinfo()
PHP Version => 4.3.10
System => Darwin earth-wind-and-fire.local 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC Power Macintosh
etc
PHP Core
Directive => Local Value => Master Value
allow_call_time_pass_reference => On => On
allow_url_fopen => On => On
always_populate_raw_post_data => Off => Off
etc
PHP Variables
PHP_SELF => -
_SERVER["MANPATH"] => /sw/share/man:/usr/share/man
_SERVER["TERM_PROGRAM"] => Apple_Terminal
_SERVER["TERM"] => xterm-color
_SERVER["SHELL"] => /bin/bash
_SERVER["PERL5LIB"] => /sw/lib/perl5:/sw/lib/perl5
_SERVER["TERM_PROGRAM_VERSION"] => 100.1.6
_SERVER["USER"] => grahamellis


I never cease to be impressed with PHP ...
(written 2007-07-18 17:37:56)

 
Associated topics are indexed under
H312 - PHP - Tips and Techniques
H999 - Additional PHP Material

Back to
Party in the Park - review
Previous and next
or
Horse's mouth home
Forward to
Till the cows come home
Some other Articles
Radio coverage for railway issues
Melksham or Weymouth? Meal or day out?
Behind closed doors?
Till the cows come home
PHP Standalone - keyboard to screen
Party in the Park - review
Changes in advertising cut lines / Buscot / Tcl course
is there a lookup function in php?
Party in the Park
Apache, Tomcat, Jakarta, httpd, web server - what are they?
2259 posts, page by page
Link to page ... 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46 at 50 posts per page


This is a page archived from The Horse's Mouth at http://www.wellho.net/horse/ - the diary and writings of Graham Ellis. Every attempt was made to provide current information at the time the page was written, but things do move forward in our business - new software releases, price changes, new techniques. Please check back via our main site for current courses, prices, versions, etc - any mention of a price in "The Horse's Mouth" cannot be taken as an offer to supply at that price.

Link to Ezine home page (for reading).
Link to Blogging home page (to add comments).

© WELL HOUSE CONSULTANTS LTD., 2009: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 707126 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho