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

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

PHP中文网
PHP中文网Original
2016-05-25 17:02:39980browse

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;
?>
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