How can I execute a PHP script using command line?

How can I execute a PHP script using command line?

View Answers

November 13, 2010 at 5:36 PM

Hi all,

By using CLI ( command line interface)

On command prompt type : php filename

for example: php helloworld.php

Thanks









Related Tutorials/Questions & Answers:
Advertisements