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 csrf token and why it is required?
How to create a session? How to set a value in session?
What is the use of get and post method in php?
What is singleton pattern in php?
What is an anti csrf token?
Is strcmp case sensitive?
List some string function name in php?
what is the abbrevation of PHP?
Explain what does $_server means?
Can you define an array argument as a reference type?
Difference between notify url, return url in paypal payment gateway?
4 Answers A1 Technology, Capital IQ, CMS, Essar, HCL, IAS, Karvy, L&T, State Bank Of India SBI, TATA, Tisco, WNS,
What is multidimensional array in php?