ShoeLace1291 Posted November 10, 2007 Share Posted November 10, 2007 This if statement sees if the string contains certain characters with ereg. I'm getting an error that says: Warning: ereg() [function.ereg]: REG_EMPTY in /home/unholy/public_html/webtop/register.php on line 44 This is my code: if(ereg('\/?.><$%^&*()!@;:"-+=|',$directory)){ Link to comment https://forums.phpfreaks.com/topic/76733-ereg-function-reg_empty-error/ Share on other sites More sharing options...
PHP_PhREEEk Posted November 10, 2007 Share Posted November 10, 2007 There is a specific REGEX forum for this stuff... PhREEEk Link to comment https://forums.phpfreaks.com/topic/76733-ereg-function-reg_empty-error/#findComment-388476 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.