Thanks for your response. I actually had tried both examples and wasn't getting the results I anticipated so thought I would ask about the email address before going any farther.

When I place this:

PHP Code:
while (list($varname,$value) = each($_POST)) {
 
if (
ereg('[http\\:\\/\\/]*[www\\.]*[A-Za-z0-9_-]+\\.[A-Za-z0-9]+'$value)) {
  
header("Location: error.php");
  exit;
 }  

I get the error page regardless of what I type in (html or no html).

With the other example, it processes regardless of what I type in (html or no html).

I used a form wizard to shortcut which has some add slashes and 'what not' - I'm going to try using my other form processor and see if I can't narrow things down a bit.

Thanks as always!!