redarrow Posted August 30, 2006 Share Posted August 30, 2006 what is wrong with this please does not seem to work properly if i take the last charecter of the email address still echo correct but that wrong please help.[code]<?php$email="admin@google.com";$remote_url="http://where the email is";$match_pattern = preg_quote(rtrim($email, "/"), "/"); if ($handle = @fopen($remote_url, "r")) { while (!feof($handle)) { $part = fread($handle, 1024); if (preg_match("/$match_pattern./" , $part)) { echo "email there"; } }fclose($handle); } else{echo" no email sorry";} ?>[/code] Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.