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
Determine the block diagram of bcd adder To add 0110 to binary sum, we use a second 4-bit binary adder. The two decimal digits, together with input-carry, are first added in to

What is 'inode'? All UNIX files have its description kept in a structure called 'inode'. The inode have info about the file-size, its location, time of last access, time of las

A socket is one end-point of a two-way communication link among two programs running on the network. Socket classes are used to show the connection among a client program and a ser

Q. How can we use Ordered Lists? Lists having numbered items are termed as ordered lists. They are used when items in the list have a natural order. They can also be used when

Explain Batch operating systems. Batch operating systems : A batch is a sequence of jobs. Such batch is submitted to batch processing operating systems moreover output would s

After considering instruction execution let's now describe a concept which is very popular in any CPU implementation. This conception is instruction pipeline.  To extract better

What is a crosstab query wizard? A wizard that helps us to show the data in a two-dimensional tabular format is the crosstab query wizard. You can use this to make queries that

program in c for scanline seed fill

failed logins to end

Object Oriented Analysis  T he basics of object oriented analysis with the help of object oriented features. Analysis  Analysis is not a solution of the problem. We w