Changeset 23 for trunk/cgi-bin
- Timestamp:
- 10/26/04 11:19:53 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cgi-bin/main.cgi
r22 r23 1141 1141 printAndExit("Please enter a customer ID."); 1142 1142 } 1143 if ($webvar{custid} !~ /^(?:\d{10}|\d{7}|STAFF) $/) {1143 if ($webvar{custid} !~ /^(?:\d{10}|\d{7}|STAFF)(?:-\d\d?)?$/) { 1144 1144 printAndExit("Please enter a valid customer ID- this must be a 7- or 10-digit number, or STAFF for static IPs for staff."); 1145 1145 }
Note:
See TracChangeset
for help on using the changeset viewer.