my email address contains a dash ("-") which is valid for most email systems. when entered into any of the forms in openbook an error is generated.
example email: my-name@isp.com
Logged In: NO
requires a simple change in three places.
what to change (my regexp is poor but this worked)
"!ereg('^[0-9A-Za-z]+[\._0-9A-Za-z]*@..."
to
"!ereg('^[0-9A-Za-z-]+[\._0-9A-Za-z-]*@..."
places to change:
1 - line 151 of create_admin.php 2 - line 111 of post.php 3 - line 132 of profile.php
if this is not correct I would appreciate hearing from you.
jimmy-little@mindspring.com
Log in to post a comment.
Logged In: NO
requires a simple change in three places.
what to change (my regexp is poor but this worked)
"!ereg('^[0-9A-Za-z]+[\._0-9A-Za-z]*@..."
to
"!ereg('^[0-9A-Za-z-]+[\._0-9A-Za-z-]*@..."
places to change:
1 - line 151 of create_admin.php
2 - line 111 of post.php
3 - line 132 of profile.php
if this is not correct I would appreciate hearing from you.
jimmy-little@mindspring.com