Home >php教程 >php手册 >PHP怎么实现网站保存快捷方式方便用户随时浏览

PHP怎么实现网站保存快捷方式方便用户随时浏览

WBOY
WBOYOriginal
2016-06-13 11:41:271351browse

PHP怎么实现网站保存快捷方式呢?下面是一段PHP代码,下面这段代码,可以PHP实现网站保存快捷方式,以便用户随时浏览。

复制代码 代码如下:



$Shortcut = "[InternetShortcut]
URL=http://blog.csdn.net/lee_magnum/
IDList = [{000214A0-0000-0000-C000-000000000046}]
Prop3=19,2";
Header("Content-type: application/octet-stream");
header("Content-Disposition: attachment; filename=梦龙小站.url;");
echo $Shortcut;

?>

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