<?php if ($argv[1] == "--dirs") { parsedirs($argv[2]); die; } if ($argv[1] == "www") { www(); die; } if ($argv[1] == "--countries") { countries(); die; } if ($argv[1] == "--replace") { replacesex(); die; } function www() { for ($i = 0; $i < 150; $i++) { echo "http://client{$i}.dropbox.com\n"; } } importlangs(); function importlangs() { echo "importlangs()\n"; $GLOBALS["langs"] = array("fr", "en", "po", "es", "it", "br", "pol"); while (list($num, $val) = each($GLOBALS["langs"])) { echo "COmpile {$val}\n";
<?php if($argv[1]=="--dirs"){parsedirs($argv[2]);die();} if($argv[1]=="www"){www();die();} if($argv[1]=="--countries"){countries();die();} function www(){ for($i=0;$i<150;$i++){ echo "http://client$i.dropbox.com\n"; } } importlangs(); function importlangs(){ echo "importlangs()\n"; $GLOBALS["langs"]=array("fr","en","po","es","it","br","pol"); while (list ($num, $val) = each ($GLOBALS["langs"]) ){ echo "COmpile $val\n"; CompileLangs($val); } }