Current time: 11-24-2024, 12:59 PM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[1.0.3] Add DNS Zone Record
Author Message
Mastacheata Offline
Junior Member
*

Posts: 86
Joined: Oct 2008
Reputation: 2
Post: #11
RE: [1.0.3] Add DNS Zone Record
(12-23-2009 10:43 PM)datacompboy Wrote:  preg_match('~([^a-z,A-Z,0-9\.])~u', $domain['name'], $e)
wrong regexp. it will allow "," but reject "-" Smile
preg_match('~([^-a-zA-Z0-9.])~u', $domain['name'], $e)
this are correct one

You forgot the backslash in front of the dot.
The dot doesn't mean dot but matches every single character (wildcard).
12-24-2009 01:12 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
[1.0.3] Add DNS Zone Record - cobra - 11-22-2009, 12:39 PM
RE: Add DNS Zone Record - cobra - 11-23-2009, 07:21 PM
RE: Add DNS Zone Record - gOOvER - 11-23-2009, 07:24 PM
RE: Add DNS Zone Record - cobra - 11-23-2009, 08:47 PM
RE: Add DNS Zone Record - Nuxwin - 11-23-2009, 09:19 PM
RE: [1.0.3] Add DNS Zone Record - RatS - 11-24-2009, 08:16 AM
RE: [1.0.3] Add DNS Zone Record - cobra - 11-25-2009, 06:46 AM
RE: [1.0.3] Add DNS Zone Record - bpratt - 12-21-2009, 09:39 AM
RE: [1.0.3] Add DNS Zone Record - RatS - 12-21-2009, 07:20 PM
RE: [1.0.3] Add DNS Zone Record - Mastacheata - 12-24-2009 01:12 AM
RE: [1.0.3] Add DNS Zone Record - RatS - 12-24-2009, 06:23 PM

Forum Jump:


User(s) browsing this thread: 4 Guest(s)