有需要,我们可以将url保存为快捷方式,那样便于做某些操作!
[codesyntax lang=”php”]
<?php
$Shortcut = "[InternetShortcut]
URL=https://www.tuterm.com/
IDList=[{000214A0-0000-0000-C000-000000000046}]
Prop3=19,2";
Header("Content-type: application/octet-stream");
header("Content-Disposition: attachment; filename=tuterm前端开发网址.url;");
echo $Shortcut;
[/codesyntax]
转载请注明:TUTERM.COM » php将指定的url网址保存为快捷方式的示例代码
