01-27-2008, 01:06 PM
|
#4 (permalink)
|
|
The Acquainted
Join Date: Nov 2007
Location: Netherlands
Posts: 113
Thanks: 11
|
I used this for a project a while ago, worked pretty good:
PHP Code:
function make_url($url) { return preg_replace('/[\W]/', '_', strtolower($url)); }
|
|
|
|