php 生成 桌面快捷连接

<?php 
$Shortcut = "[InternetShortcut] 
URL=http://IP地址或网址
IDList= 
[{000214A0-0000-0000-C000-000000000046}] 
Prop3=19,2 
"; 
Header("Content-type: application/octet-stream"); 
header("Content-Disposition: attachment; filename=连接名称.url;"); 
echo $Shortcut; 
?>

仅供本身学习记录php

相关文章
相关标签/搜索