Sysbible

A paradise for Sysads

Sysbible

Main menu

Skip to primary content
Skip to secondary content
  • Home
  • Contact

Tag Archives: php

How to pass parameters to a PHP script executed through the command line

Posted on January 28, 2010 by unai

The syntax to pass parameters to PHP scripts executed command line is:

php script.php arg1 arg2 arg3

For more information:

  • Control your scripts with command-line PHP
  • PHP CLI: Sending parameters via command line
Posted in cookbook, php | Tagged command-line, php, scripting

Recent Posts

  • How to follow repeatable steps that keep your MySQL databases tuned
  • Implementing Apache’s force proxy flag for rewrite rules under NGINX
  • Revoking MySQL Permissions
  • How to pass parameters to a PHP script executed through the command line
  • Quick and dirty fix for VMware Linux guests loosing clock accuracy

Archives

  • March 2013
  • August 2010
  • May 2010
  • January 2010
  • March 2009
  • December 2008
  • November 2008
  • July 2008

Categories

  • apache
  • cookbook
  • debian
  • ejabberd
  • firewall
  • linux
  • load-balancing
  • mysql
  • networking
  • nginx
  • packet-sniffing
  • perl
  • php
  • security
  • server-monitoring
  • single-sign-on
  • vmware
  • web-serving
  • windows

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
Proudly powered by WordPress