Home >Backend Development >PHP Tutorial >PHP shortcut sample code for outputting URL_PHP tutorial

PHP shortcut sample code for outputting URL_PHP tutorial

WBOY
WBOYOriginal
2016-07-21 16:12:40986browse

Copy code The code is as follows:

/**
* 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.htmlTechArticleCopy the code as follows: ?php /** * Internet Shortcut * * Add the following into "head": * link href="favicon.ico" rel="icon" type="image/x-icon" / * link href="favicon.ico" rel=...
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