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