Hi :)
I have a page where users can enter youtube url's within bbtags such as:
[Youtube ]youtube-url-here[ /youtube]
However...I'm having some problems when the url contains the & sign..as this seems to cut off the string at this point.
I've read somewhere that one have to use urlencode these signs..but I'm not completely sure how to do this without loosing any security in case the user inserts some other urls / code which I don't want here..
So hopefully one of you wizards may help me out somewhat along the way ? :)
The youtube url is part of a long text (it's a comment system ) - If the user inserts it of course... so We always have to check if the user actually inserted a youtube link or not before doing whatever functions we need to do with the string contents afterwards.
Very happy for any help you guys may provide :)