Forum Moderators: coopster
Obviously, however, I still get people completely ignoring this and going for full URL's.
So, I was wondering if there was a more effective approach available alternativly to the one I am using?
Here's my code.
$remove_fields = array("http://", "www.", "myspace", ".com", ".co.uk", "/");
$replace_fields = array("", "", "", "", "", "");
$user_myspace_stripped = str_replace($remove_fields, $replace_fields, $user_myspace);
Kindest regards,
Tom.