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
780
posted 15 years ago by kossmoss