+ Reply to Thread
Results 1 to 4 of 4

Thread: Implementation of IDN Domains

  1. Join Date
    Aug 2005
    Posts
    8

    Implementation of IDN Domains

    Hello,

    how can i make the script working to accept IDN Domain requests??

    Because you can use IDN Domains (Special Characters >> äöüÄÖÜéáúÚÉÁß) for .de, .com, .net, .org, .info, .biz, .at, .ch

    Now i get the Errormessage that i use invalide Characters

    thnx for the help

    Daniel

  2. Join Date
    Aug 2004
    Posts
    781

    Implementation of IDN Domains

    I know, I need to fix the regex that checks domains.

    You can change it now though: open whois/classes/domains.php and edit "^[a-zA-Z0-9]+[a-zA-Z0-9-]*[a-zA-Z0-9]+$" (found on line 88).

    The three sections correspond to the default set of restrictions for domains. As you can see, there are three sections (see the three different sets of brackets). The first corresponds to the first character of a domain, the second corresponds to the middle characters, and the last corresponds to the last character.

    So in the middle example [a-zA-Z0-9-], valid characters include letters a through z, A through Z, 0 through 9, and the hyphen character.

  3. Join Date
    Aug 2005
    Posts
    8

    Implementation of IDN Domains

    Thnx for the fast answer,
    i have tried but it does not work with .de .com. net
    and the Whois-Info also does not work with IDN Domains (Illegal Characters error) from the Whois-Server.
    I think the Whois-Servers need a translation to the Punny-Code from the Script.

    Regards
    Daniel

  4. Join Date
    Aug 2004
    Posts
    781

    Implementation of IDN Domains

    Thnx for the fast answer,
    i have tried but it does not work with .de .com. net
    and the Whois-Info also does not work with IDN Domains (Illegal Characters error) from the Whois-Server.
    I think the Whois-Servers need a translation to the Punny-Code from the Script.

    Regards
    Daniel
    Do you know much about PHP?

    If you want, you could include this class I just found and run the domain through it, around the same location I said to edit above:

    http://www.phpclasses.org/browse/package/1509.html

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts