复制代码 代码如下:
<?php
/**
* Internet Shortcut
*
* Add the following into "head":
* <link href="favicon.ico" rel="icon" type="image/x-icon" />
* <link href="favicon.ico" rel="shortcut icon" type="image/x-icon" />
* <link href="favicon.ico" rel="bookmark" type="image/x-icon" />
*/
$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
/**
* Internet Shortcut
*
* Add the following into "head":
* <link href="favicon.ico" rel="icon" type="image/x-icon" />
* <link href="favicon.ico" rel="shortcut icon" type="image/x-icon" />
* <link href="favicon.ico" rel="bookmark" type="image/x-icon" />
*/
$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快捷方式
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件!
如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
桃源资源网 Design By www.nqtax.com
暂无“PHP 输出URL的快捷方式示例代码”评论...