PHP中怎么输出URL
更新:HHH   时间:2023-1-7


这篇文章给大家介绍PHP中怎么输出URL,内容非常详细,感兴趣的小伙伴们可以参考借鉴,希望对大家能有所帮助。

<?php 

$shortcut = '[InternetShortcut] 
URL=http://onens.com/ 
IDList= 
[{000214A0-0000-0000-C000-000000000046}] 
Prop3=19,2 
'; 
header('Content-type: application/octet-stream'); 
header('Content-Disposition: attachment; filename=Onens.Com.url;'); 
echo $shortcut;

关于PHP中怎么输出URL就分享到这里了,希望以上内容可以对大家有一定的帮助,可以学到更多知识。如果觉得文章不错,可以把它分享出去让更多的人看到。

返回开发技术教程...