note 69038 added to features.commandline

From: Date: Mon, 21 Aug 2006 07:20:10 +0000
Subject: note 69038 added to features.commandline
Groups: php.notes 
Request: Send a blank email to php-notes+get-116113@lists.php.net to get a copy of this message
If your php script doesn't run with shebang (#!/usr/bin/php), and it issues the beautifull and informative error message: "Command not found." just dos2unix yourscript.php et voila. If your php script doesn't run with shebang (#/usr/bin/php), and it issues the beautifull and informative message: "Invalid null command." it's probably because the "!" is missing in the the shebang line (like what's above) or something else in that area. \Alon ---- Server IP: 192.117.122.43 Probable Submitter: 87.69.47.75 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/features.commandline.php Edit -- https://master.php.net/note/edit/69038 Del: integrated -- https://master.php.net/note/delete/69038/integrated Del: useless -- https://master.php.net/note/delete/69038/useless Del: bad code -- https://master.php.net/note/delete/69038/bad+code Del: spam -- https://master.php.net/note/delete/69038/spam Del: non-english -- https://master.php.net/note/delete/69038/non-english Del: in docs -- https://master.php.net/note/delete/69038/in+docs Del: other reasons-- https://master.php.net/note/delete/69038 Reject -- https://master.php.net/note/reject/69038 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#116113) next »