Home >Backend Development >PHP Tutorial > 将网页的快捷方式保留到桌面PHP代码

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

WBOY
WBOYOriginal
2016-06-13 13:02:36729browse

将网页的快捷方式保存到桌面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  
为什么指定的图标不显示,这是为什么?
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn