I'm writing a simple script to go in my profile of my AIM and the link passes the screen name of the user that clicks the link using %n. AIM doesn't urlencode the variable and spaces screw things up. I was wondering if you know what I can do.
For instance ...
<a href="http://myurl/somepage.php?ref=%n">
where %n is the screen name of the user. If %n = "Some Name" with a space in it, the var I get in sompage.php is just "Some". If I copy the link from the AIM profile to my clipboard and past it, it works fine.
Any idea?