I found an example of what i'm trying to accomplish.

http://www.jokaroo.com/funnypictures/faceonhishair.html

The button SEND to a friend automatically puts the page url in the send message box when it's clicked.

I've tried this code:

Code:
               echo "<a href=aim:goim?message=http://www.lmmfao.com/flash/".$id."\"><img src=/images/sendaim.gif></a>";
So far that hasn't worked. I can't provide what errors were given because i'm having troubles editing my php.ini file to show errors, but that's another story.

I'm wondering if this function is only possible through javascript or if i'm totally offbase with this php script. Any help or ideas are really appreciated