Archive:PHP and MySQL Programming/Command Line Programming: Difference between revisions

wikademia>Darklama
wikademia>Darklama
m restore current version
Line 1: Line 1:
{{delete|see: Talk:Programming:PHP and MySQL}}
[[Programming:PHP and MySQL|TOC]]
== Introduction ==
== Introduction ==


Line 10: Line 5:
==Getting the PHP-CLI==
==Getting the PHP-CLI==


If you are running Linux, you should get the corresponding package for the PHP-CLI. In Debian, it is just a matter of typing :
If you are running Linux, you should get the corresponding package for the [http://www.php-cli.com PHP-CLI]. In Debian, it is just a matter of typing:


  $> apt-get install php5-cli
  $> apt-get install php5-cli


In Windows, the CLI should be included with the PHP files.
In Windows, the CLI should be included with the PHP files. Refer to http://www.php-cli.com/ and http://www.php.net for more help.


==Initial Considerations==
==Initial Considerations==
Line 67: Line 62:
  ?>
  ?>


== External Resources and Links ==
[http://www.php-cli.com PHP CLI] - ALL about running PHP script from command line: tutorials, options, examples, PHP CLI and PHP CGI difference.


[[Programming:PHP and MySQL|<< 5. Session Handling]] | [[Programming:PHP and MySQL|TOC]] | [[Programming:PHP and MySQL|>> 7. Form Handling]]
[[../Session Handling/|Previous: Session Handling]] | [[../|TOC]] | [[../Form Handling/|Next: Form Handling]]


[[Category:PHP]]
[[Category:PHP]]
[[Category:MySQL]]
[[Category:MySQL]]