
Zeke_D
Deleted
Nov 2, 2000, 7:30 PM
Post #1 of 4
(253 views)
|
|
limiting fields to a certain character legnth
|
Can't Post
|
|
how do I make the code below also limit the $user field to 15 characters? <BLOCKQUOTE><font size="1" face="Arial,Helvetica,sans serif">code:</font><HR> if ($user =~ /[^a-zA-Z0-9_]/) { $founderror = 2 ; $message .= "<B>Usernames can contain only numbers, letters, and the underscore '_' character.</B><BR>"; $fontuser = "<I><FONT COLOR='#FF0000'>"; } </pre><HR></BLOCKQUOTE>
|