How can I execute a PHP script using command line?
Answer Posted / nikunj
By using CLI ( command line interface)
On command prompt type : php filename
| Is This Answer Correct ? | 33 Yes | 5 No |
Post New Answer View All Answers
Which database is best for php?
Why does sql injection happen?
What is a closure in php?
Is it possible to remove the html tags from data?
Which is better get or post method?
Can we embedded directly PHP code into XHTML document? State Whether True or False?
Does php have block scope?
Explain some of the php string functions?
Which is the correct way to check if a session has already been started ?
Which php mvc framework is best?
How do I run a php file?
What is the correct syntax of mail() function in php?
How to read a file in php?
How to retrieve values out of an array?
Can php use gettext?