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; ?>
上一篇: 机房收费系统-触发器