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)){ Quote Link to comment 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 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.