Jump to content

[SOLVED] eregi() [function.eregi]: REG_EBRACK


plutomed

Recommended Posts

Warning: eregi() [function.eregi]: REG_EBRACK in /home/plutomed/public_html/includes/templates/templates.php on line 297

 

function spamcheck($field)
  {
//eregi() performs a case insensitive regular expression match
  if(eregi("<a",$field) || eregi("[url",$field)) 
    {
    return TRUE;
    }
  else
    {
    return FALSE;
    }
  }

 

Could anyone tell me why I am getting this error?

Link to comment
https://forums.phpfreaks.com/topic/64152-solved-eregi-functioneregi-reg_ebrack/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.