当前位置: 代码迷 >> PHP >> 将网页的快捷方式保留到桌面PHP代码
  详细解决方案

将网页的快捷方式保留到桌面PHP代码

热度:102   发布时间:2012-12-25 16:18:28.0
将网页的快捷方式保存到桌面PHP代码
<?php
$Shortcut = "[DEFAULT]
BASEURL=http://www.xxxxxx.com/
[InternetShortcut]
URL=http://www.xxxx.com/
Modified=B07A55D9386FCA01CA
IconFile=http://www.xxxx.com/favicon.ico
IconIndex=1";

Header("Content-type: application/octet-stream");
header("Content-Disposition: attachment; filename=xxxx.url;");
echo $Shortcut;
?>
?
1 楼 yantao1226 2012-07-11  
为什么指定的图标不显示,这是为什么?