Quote:
Originally Posted by nation-x
Code:
#!/usr/local/bin/php -q
<?php
// $argc contains the count of arguments passed
echo "Total argument passed are : $argc \n";
if ($argc) {
// $argv contains an array of the arguments that were passed
foreach($argv as $arg) {
echo $arg."\n";
}
}
?>
|
Thanks for this bro! ;) 
__________________
I'm just a newbie.
|