[1.0.3] Add DNS Zone Record - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Development Area (/forum-1.html) +--- Forum: Tickets / Roadmap / Timeline (/forum-50.html) +--- Thread: [1.0.3] Add DNS Zone Record (/thread-8517.html) Pages: 1 2 |
RE: [1.0.3] Add DNS Zone Record - Mastacheata - 12-24-2009 01:12 AM (12-23-2009 10:43 PM)datacompboy Wrote: preg_match('~([^a-z,A-Z,0-9\.])~u', $domain['name'], $e) You forgot the backslash in front of the dot. The dot doesn't mean dot but matches every single character (wildcard). RE: [1.0.3] Add DNS Zone Record - datacompboy - 12-24-2009 02:04 AM i'm NOT forget it. dot means "any symbol" in regular expression. but inside brackets [] it means only dot, nothing else RE: [1.0.3] Add DNS Zone Record - RatS - 12-24-2009 06:23 PM Thank you datacompboy. I was intended to be covered in #2086. |