How do you run a php script from the command line?
Answer / suren
Answer :
you can execute thefrom anywhere like a command prompt.
in unix like OS you use the following:
/path/to/php -f /path/to/script.php
For windows OS's use the following
c:\path\to\php.exe -f c:\path\to\script.php
and U can get the information by running the
C:\path\to\php.exe -f
| Is This Answer Correct ? | 2 Yes | 0 No |
Is strcmp case sensitive?
What does it mean when it says the csrf token is invalid?
How can we execute a php script using command line?
Who created numbers?
What are psrs? Choose 1 and briefly describe it?
When sessions ends?
What is the functionality of the function html entities?
Tell us what does $_cookie means?
How to count all the lines of code in a directory and sub folder?
What is MIME?
Why do we use cookie?
what is magic code ?
4 Answers eVenturers, iFlash, Zynga,