欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  php教程

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

程序员文章站 2022-05-29 18:44:46
...
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;
?>