<?php <BR>$Shortcut = "[InternetShortcut] <BR>URL=http://www.your_url.com/ <BR>IconFile=http://www.your_icon.com/ <BR>IconIndex=1 <BR>IDList= <BR>[{000214A0-0000-0000-C000-000000000046}] <BR>Prop3=19,2 <BR>"; <BR>header("Content-type: application/octet-stream"); <BR>header("Content-Disposition: attachment; filename=链接文字.url;"); <BR>echo $Shortcut; <BR><b style="color:transparent">来&源gao@dai!ma.com搞$代^码%网</b><img>搞gaodaima代码</img>?><BR>
但是,IconFile这个图标没有生效;此外,这个是可以支持中文的,如果不支持中文的话,可以加上一行代码:
header('Content-Type: text/html; charset=utf-8'); <BR>
将该php文件放到服务器apache上,然后访问即可生成一个链接的快捷方式。