给自己的网站加入“保存到桌面”的按钮
新建一个php文件,命名为url.php,注意修改 url和底下的名称,这里我以百度为例!
<?php $Shortcut = "[InternetShortcut] URL=
http://www.baidu.com/
IDList=
[{000214A0-0000-0000-C000-000000000046}]
Prop3=19,2
";
Header("Content-type: application/octet-stream");
header("Content-Disposition: attachment; filename=百度一下,你就知道!;");
echo $Shortcut;
?>
然后再你的网页前台,在需要的地方加入图片,或者文字,将连接链接到url.php。
大工告成啦.....
浙公网安备 33010602011771号