Profile
Achievement
 
    
                kossmoss's Recent SnippetsTagged php
- All /
 « Prev 1 Next »
You can get hostname from script environment - getenv("HTTP_HOST")
(?!'.$host.') matches URLs always except local links
        
        
        
            0 
        
        
            1184 
        
                    posted 16 years ago by kossmoss
            