Current time: 11-01-2024, 11:31 AM Hello There, Guest! (LoginRegister)


Thread Closed 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Erledigt] Bug oder Feature? Subdomainhosting nicht möglich wenn Zahl im Domainnamen.
Author Message
Nuxwin
Unregistered

 
Post: #19
RE: Bug oder Feature? Subdomainhosting nicht mehr möglich.
(11-29-2009 01:49 AM)FISA4 Wrote:  Thanks.

By the way...

In Germany scSLD´s are allowed since 10/23/09.


PHP Code:
function _validates_sld($sld$strict_sld false) {

    global 
$validation_err_msg;
    
$validation_err_msg tr('Wrong Second Level Domain syntax!');

    
// Single-Character SLD
    // Note: All another SC SLD are presently reserved in
    // all gTLD registry agreements except for Germany since 2009/10/23.
    
$scSLD =
        
'i\.net|'.
        
'q\.(?:com|net)|'.
        
'x\.org|'.
        
'[xz]\.com|'.
        
'[a-z]\.de';

    
$pattern = ($strict_sld) ? '@^' $scSLD '|[a-z]{2,6}\..+$@' '@^[a-z0-9]+\..+$@';

    return (bool) 
preg_match($pattern$sld);

11-29-2009 01:53 AM
Thread Closed 


Messages In This Thread
RE: Bug oder Feature? Subdomainhosting nicht mehr möglich. - Nuxwin - 11-29-2009 01:53 AM

Forum Jump:


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