## file.php code: ## calling it in bash returns nothing: [/share/Web] # php test.php var=echothis [/share/Web] # php -f test.php var=echothis [/share/Web] # php -f test.php -- var=echothis [/share/Web] # php -f test.php -- ?var=echothis [/share/Web] # ## check contents of $argv by using this code: ## ...returns this: [/share/Web] # php test.php var=echothis array(2) { [0]=> string(8) "test.php" [1]=> string(12) "var=echothis" } [/share/Web] #