首頁  >  文章  >  後端開發  >  PHP 输出URL的快捷方式示例代码_PHP教程

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

WBOY
WBOY原創
2016-07-21 16:12:40942瀏覽

复制代码 代码如下:

/**
* 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;

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/313605.htmlTechArticle复制代码 代码如下: ?php /** * Internet Shortcut * * Add the following into "head": * link href="favicon.ico" rel="icon" type="image/x-icon" / * link href="favicon.ico" rel=...
陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn