Categories:
.NET (961)
C (387)
C++ (185)
CSS (84)
DBA (8)
General (31)
HTML (48)
Java (641)
JavaScript (220)
JSP (109)
JUnit (31)
MySQL (297)
Networking (10)
Oracle (562)
Perl (48)
Perl (9)
PHP (259)
PL/SQL (140)
RSS (51)
Software QA (28)
SQL Server (5)
Struts (20)
Unix (2)
Windows (3)
XHTML (199)
XML (59)
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, 5920👍, 0💬
Popular Posts:
What is cross page posting? By default, button controls in ASP.NET pages post back to the same page ...
Does there exist any other function which can be used to convert an integer or a float to a string? ...
What is Concern in AOP? gA concern is a particular goal, concept, or area of interesth There are m...
What are the two kinds of comments in JSP and what's the difference between them? <%-- JSP Co...
What is more advisable to create a thread, by implementing a Runnable interface or by extending Thre...