note 108584 added to features.commandline.webserver

From: Date: Tue, 08 May 2012 22:55:12 +0000
Subject: note 108584 added to features.commandline.webserver
Groups: php.notes 
Request: Send a blank email to php-notes+get-187532@lists.php.net to get a copy of this message
"If you choose to put your index.php in as the router, then your index.php should be cli-server aware: <?php if (php_sapi_name() == 'cli-server') { /* route static assets and return false */ } /* go on with normal index.php operations */" (Via Ralph Schindler) ---- Server IP: 69.147.83.197 Probable Submitter: 148.87.19.202 ---- Manual Page -- http://www.php.net/manual/en/features.commandline.webserver.php Edit -- https://master.php.net/note/edit/108584 Del: integrated -- https://master.php.net/note/delete/108584/integrated Del: useless -- https://master.php.net/note/delete/108584/useless Del: bad code -- https://master.php.net/note/delete/108584/bad+code Del: spam -- https://master.php.net/note/delete/108584/spam Del: non-english -- https://master.php.net/note/delete/108584/non-english Del: in docs -- https://master.php.net/note/delete/108584/in+docs Del: other reasons-- https://master.php.net/note/delete/108584 Reject -- https://master.php.net/note/reject/108584 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#187532) next »