11-03-2006, 12:31 AM
Okay, I have a script that checks weather or not an AIM screenname is online. Today I realized that you can have spaces in your AIM screename... So I urlencoded "my screename" to become "my+screename" only problem is when I feed the username into this link:
and IM box comes up for "my", not the whole screenname, any clue how I can fix this?
11-03-2006, 12:45 AM
//not needed for JS
$username = $_GET['u'];
<a href="aim:goim?screename=<?=$username?>&message=Hey">Click Here to IM <?=$username?></a>
echo("No AIM username specified.");
So if $username = "screen+name", an IM box shows up for "screen".
11-03-2006, 12:48 AM
if u post al ur code for 2 pages i will test on server
11-03-2006, 12:50 AM
<a href="http://myspace-source.com/aimclick.php?u=screen+name" target="_BLANK">
<img src="http://myspace-source.com/aimonline.php/screen+name.gif" border="0"></a>
Would be a sample button you might see on a page.