Home > php教程 > PHP源码 > PHP实现网站保存快捷桌面方式

PHP实现网站保存快捷桌面方式

PHP中文网
Release: 2016-05-25 17:02:39
Original
987 people have browsed it

php代码

<?php
/*
保存shortcut.php访问即可保存桌面
*/
$title="代码片段";
$Shortcut = "[InternetShortcut]
URL=http://www.CodeSnippet.cnIDList=
[{000214A0-0000-0000-C000-000000000046}]
Prop3=19,2";
Header("Content-type: application/octet-stream");
header("Content-Disposition: attachment; filename=".$title.".url;");
echo $Shortcut;
?>
Copy after login
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
Latest Articles by Author
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template