>this url is the one that i want for my users:
>
>http://user.tuned-belgium.be/junni
>
>
>but go's now to
>
>http://www.tuned-belgium.com/user/?id=/junni   (slash junni)
>
>but must go to
>
>http://www.tuned-belgium.com/user/?id=junni (without slash)
>
>how can i prevent or filter the slash away?

without getting eloquent... and assuming your url string is static each time
($id doesn't move withing your url string).

$url =
str_replace('?id=/','?id=','http://www.tuned-belgium.com/user/?id=/junni');

Dave



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to