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 do you sort an array in php?
How to split a string into array using php?
How do I debug php?
What are the different ways to login to a remote server?
How to delete file in php?
Starting or restarting a computer is called
What do you mean range() in php?
What are the php variables?
Tell us how can we display the output directly to the browser?
What is the difference between unset and unlink?
What is the exact Diff. between include_once() and require_once() in PHP?
If there are 10 text boxes in a form having same name, their value are different. Value of which textbox will be received on action script?
20 Answers A1 Technology, Bajaj, DG, Genpact,