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 |
What is the difference between associative array and indexed array?
What is mod_php?
how to register website in internet
What is php default argument?
What is laravel php?
What is string and its function?
What is .htaccessfile and use of this file
What is use of header() function in php?
What is the mysql injection?
Is java is better than php?
What is cakephp framework?
what is php stands for?
23 Answers Infosys, Satyam, Torque Infotech,