View Single Post
Old 02-17-2009, 12:14 PM  
tranza
ICQ: 197-556-237
 
Join Date: Jun 2003
Location: BRASIL !!!
Posts: 57,559
Quote:
Originally Posted by nation-x View Post
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.
tranza is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote