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 |
Specify array sort functions available in php ?
How many days will it take to learn php?
Is there any function to find repeated value in an array? What is w2 standard
What do the initials of php stand for?
Is there an easy way to delete an element from a php array?
How to remove all duplicate values in array in php?
Describe PHP error and logging information?
What is session and Cokkies . How it works . tell some thing about Session_id()
Is php harder than javascript?
What are the differences between PHP 3 and PHP 4 and PHP 5?
Is wordpress a php framework?
What are the correct and the most two common way to start and finish a PHP block of code?