note 46556 deleted from features.commandline by sean
| From: | sean@php.net | Date: | Fri, 15 Oct 2004 14:03:26 +0000 |
| Subject: | note 46556 deleted from features.commandline by sean | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-78586@lists.php.net to get a copy of this message | ||
Note Submitter:
----
A simple Commandline script on WIN XP:
@php.exe -n -d output_buffering=1 -d memory_limit=512 %0 %*
@pause
@exit /b
<?php
error_reporting(E_ALL);
ob_end_clean();
ini_set('output_buffering', '0');
print_r($argv);
?>
Now you can call the Script (foo.bat) from cmd.exe or by double klicking it. The Env Variable PATH
has to adjusted.
----
Reason: useless example