$html = file_get_contents('http://site.com/form.php');
preg_match('/name="codeid" value="(\d{32})"/i', $html, $codeid);
preg_match('/src="secImage\.php\?rand=(\d+)/i', $html, $random);
$code = $codeid[1];
$rand = $random[1];
I tried that and it wont work still :/ when i do
<? echo $code ?>
its not there. Like when i do veiw source the place where they should be is blank :/