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

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

WBOY
Release: 2016-06-13 13:02:36
Original
731 people have browsed it

将网页的快捷方式保存到桌面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;
?>
Copy after login
?

1 楼 yantao1226 2012-07-11  
为什么指定的图标不显示,这是为什么?
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template