$str = '<input type="hidden" name="formOidMd5" value="0C2A68950BF4FE825888F2A32BAAB69E"> <input type="hidden" name="formOid" value="517260832138604146">';
preg_match_all('#name="formOidMd5" value="(.+?)">#is', $str, $arr);
preg_match_all('#name="formOid" value="(.+?)">#is', $str, $arr2);
print_r($arr[0][1]);
print_r($arr2[0][1]);
$arr = file_get_contents("http://example.com/");