Code to send the current web page to the desktop_PHP tutorial

WBOY
Release: 2016-07-21 14:53:33
Original
2650 people have browsed it

Send the web page to the desktop PHP language code.

First of all, we need to make preparations. We must first upload the ico icon file of our website so that the icon will be displayed when it is sent to the desktop.

Then create a new php file named shorturl and put the following code in it

$Shortcut = “[InternetShortcut]

URL=http://your domain name/

IDList=

[{000214A0-0000-0000-C000-000000000046}]

Prop3=19,2

“;

Header(“Content-type: application/octet-stream”);

header(“Content-Disposition: attachment; filename=filename.url;”);

echo $Shortcut;

?>

Then save and transfer to the root directory of the website,

Add the following code to the website call page.

1

Send to desktop

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/371362.htmlTechArticleSend the web page to the desktop php language code. First of all, we need to make preparations. We must first upload the ico icon file of our website so that the icon will be displayed when it is sent to the desktop. However...
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!