Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
Executing a PHP Script Using Command Line
How can I execute a PHP script using command line?
✍: FYIcenter
Just run the PHP CLI (Command Line Interface) program and provide the PHP script file name as the command line argument. For example, "php myScript.php", assuming "php" is the command to invoke the CLI program.
Be aware that if your PHP script was written for the Web CGI interface, it may not execute properly in command line environment.
2007-02-27, 6975👍, 0💬
Popular Posts:
How can we format data inside DataGrid? Use the DataFormatString property.
Have you ever worked with Microsoft Application Blocks, if yes then which? Application Blocks are C#...
What are the two fundamental objects in ADO.NET ? Datareader and Dataset are the two fundamental obj...
What will be printed as the result of the operation below: main() { char *ptr = " Cisco Systems"; *p...
What are the types of variables x, y, y and u defined in the following code? #define Atype int* type...