I have people posting their website address but variations are posted such as:
- theirsite.com
- www.theirsite.com
- http://theirsite.com
- http://www.theirsite.com
When I link to an address without http:// it takes the link as internal
<a href="theirsite.com">their site</a>
sending people to something like: http://mysite.com/thiersite.com
Another option I've tried is linking to something like mysite.com/?link=theirsite.com - This way I can do some link tracking etc then redirect people to the link but it has the same problem:
//do some tracking etc here
$link =$_GET['link'];
header("Location: $link");