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

相關文章
相關標籤/搜索