$v) { if (!$k) continue; if (preg_match('/^\/(opt[1-3])\=(.*)$/',$v,$m)) { $optname = $m[1]; $optvalue = $m[2]; $opts[$optname] = $optvalue; } } if (isset($opts["opt1"])) { echo "\nOption 1 is set with the following data: $opts[opt1]\n"; } if (isset($opts["opt2"])) { echo "\nOption 2 is set with the following data: $opts[opt2]\n"; } if (isset($opts["opt3"])) { echo "\nOption 3 is set with the following data: $opts[opt3]\n"; } exit(NWC2RC_REPORT); ?>