browolf Posted November 18, 2008 Posted November 18, 2008 u want to look at 'regular expressions' there's some php examples here: Handy PHP - A Few Handy PHP Regular Expressions (RegEx)
tom_newton Posted November 18, 2008 Posted November 18, 2008 PHP: parse_url - Manual might be a good start - if you want to cut off the www then you can do that afterward - s/^www//i might work!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now