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 |
How failures in execution are handled with include() and require() functions?
Which is true about the singleton design pattern?
Is key exist in array php?
does PHP support foreign key and Rollback?yes or not.if not then why. how will you done these concept in php?
1 Answers Avanigoradia, Primus Global,
What is the use of the function htmlentities?
What is meant by PEAR in PHP?
Describe PHP error and logging information?
What is the default time in seconds for which session data is considered valid?
What is prepare in php?
How to get the position of the character in a string in php?
What is the difference between die () and exit () in php?
Is php easier than javascript?