Jump to content

[SOLVED] ereg Error


wintallo

Recommended Posts

Hello, what does this error mean?

 

 

Warning: ereg() [function.ereg]: REG_ERANGE in /home/wintallo/public_html/login_sys/register.php on line 27

 

Line 27 is:

if (ereg($pattern_username, trim($_POST['username']))) {

 

(where $pattern_username = '\b[A-Z0-9._%+-]+@(?:[A-Z0-9-]+\.)+[A-Z]{2,4}\b';)

And $_POST['username'] was "wintallo".

 

Thanks!

Link to comment
https://forums.phpfreaks.com/topic/61429-solved-ereg-error/
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.