\n"; echo "\n"; } $args = Console_Getopt::readPHPArgv(); if (sizeof($args) < 3) { usage(); exit(); } $originalbinary = $args[1]; $helpdeskfile = $args[2]; if(!file_exists($helpdeskfile)) { echo "The $helpdeskfile does not exists, or can not be accessed.\n"; exit(1); } $helpdesktext = file_get_contents ($helpdeskfile,false,NULL,0,1024); if(applySettings($originalbinary,$helpdesktext)) { echo "Success!\n"; } else { echo "Error!\n"; } ?>