Use php to download the desktop shortcut of the website. You can use php to download the URL in a desktop shortcut, that is, when accessing the php file, you can download the URL in a shortcut, just as you can manually create it on the desktop. Method: Create a desktop shortcut to download the Web site using php, that is, when accessing the php file, implement a shortcut to download the Web site, just as we manually create on the desktop.
Method: create a new PHP document: just remember the name, for example, export cut. php.
Content in the PHP document:
/* Helper House http://www.bkjia.com */
$ Shortcut = "[InternetShortcut]
URL = http://www.bkjia.com/
IDList =
IconFile = http://www.bkjia.com/favicon.ico
IconIndex = 1
[{000214A0-0000-0000-C000-000000000046}]
Prop3 = 19,2
"; // Pay attention to modifying the above URL and icon link
Header ("Content-type: application/octet-stream ");
Header ("Content-Disposition: attachment; filename = Fire School. url ;");
Echo $ Shortcut;
?>
Demo: http://www.bkjia.com/plus/shortcut.php
Ghost implements the desktop shortcut download of the Web site, that is, the shortcut for downloading the Web site when accessing the php file, just as we manually create the Web site on the desktop. Method: create a new...