this is the script i made...
<?php
$GrabURL = "http://www.picrave.com/versus.phtml?gender=1";
echo '
<IFRAME
SRC="
';
echo $GrabURL;
echo '
"
WIDTH=600 HEIGHT=400
ALIGN=CENTER
NAME="content"
FRAMEBORDER=0
>
</IFRAME>
';
$OpenFile = fopen("$GrabURL", "r");
$RetrieveFile = fread($OpenFile, 200000);
if(preg_match("/Germany/i", $RetrieveFile)) {
echo 'found!';
}
else {
echo '<meta Refresh="$PHP_SELF;10">';
}
echo $RetrieveFile;
fclose($OpenFile);
?>
i used echo to see if the one im searching for is exactly same as the one i'm seeing. but it isnt. i'd like to see the "original page"(like in the frame) which script used to search.