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 exactly is validating and sanitizing?
Why namespace is used in php?
Tips to optimize the php script..... Suggestion for exception handling in php...
What is needed to be able to use image function?
What are php keywords?
How do you pass a variable by value in php?
Functions in IMAP, POP3 AND LDAP?
1 Answers Rushmore Consultancy,
What is use of in_array() function in php?
What does PEAR stands for?
So if md5() generates the most secure hash, why would you ever use the less secure crc32() and sha1()?
Is facebook still in php?
Is php difficult to learn?