首页  >  文章  >  后端开发  >  PHP 输出URL的快捷方式示例代码_PHP

PHP 输出URL的快捷方式示例代码_PHP

WBOY
WBOY原创
2016-06-01 11:59:003528浏览
复制代码 代码如下:
/**
* Internet Shortcut
*
* Add the following into "head":
*
*
*
*/
$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;
声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn