Home  >  Article  >  Backend Development  >  PHP 输出URL的快捷方式示例代码_PHP

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

WBOY
WBOYOriginal
2016-06-01 11:59:003564browse
复制代码 代码如下:
/**
* 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;
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn