How can i execute a php script using command line, Computer Engineering

Just run the PHP CLI (Command Line Interface) program and give the PHP script file name as the command line argument. For instance, "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 implement properly in command line environment.    

 

 

Posted Date: 4/9/2013 2:22:43 AM | Location : United States







Related Discussions:- How can i execute a php script using command line, Assignment Help, Ask Question on How can i execute a php script using command line, Get Answer, Expert's Help, How can i execute a php script using command line Discussions

Write discussion on How can i execute a php script using command line
Your posts are moderated
Related Questions
Loosely Coupled Systems These systems don't share global memory since shared memory concept increases the problem of memory conflicts, which consecutively slows down the

Q. Explain about Floating-Executive model? Floating-Executive model: The master-slave kernel model is too restrictive in sense that only one of processors viz designated master

The process of importing data from one more Access database follows these common steps they are. ? Preparing the document for import operation and make ensure that extensions ar

Described different types of addressing modes available? Ans: The various types of addressing modes available are following:   Register addressing mode   Immediate ad

State about the Logic Micro-operations These operations are performed on binary data stored in register. For a logic micro-operation each bit of a register is treated as a diff

What are the aspects of security policy The security policy should cover aspects such as network service access, physical access, limits of acceptable behaviour, company's pro

If quicksort is so quick, why bother with anything else? If bubble sort is so bad, why even mention it? For that matter, why are there so many sorting algorithms?

How physical addressing is performed in WAN?  WAN networks operate as similar to a LAN. All WAN technology describes the specific frame format a computer uses while sending an

The desired daily output for an assembly line is 360 units. This assembly line will operate 450 minutes per day. The following table have information on this product's task times a

the block diagram of an 8086 processor