<?php
#########################################################################
# Obtain $argv paramaters from command line
# Sybtax:  php script.php  value1  value2      
#
# Obtain $_GET paramaters from command line
# Sybtax:  php-cgi script.php  key1=value1  key2=value2      
#########################################################################

print 'The content of your $argv array is...' . "<br>\n";           //$argv parameters  value1 value2
print_r($argv);

print "<br>\n";

print 'The content of your $_GET array is...' . "<br>\n";           //$_GET parameters  name1=value1  name2=value2
print_r($_GET);

?>