Home >Backend Development >PHP Tutorial >PHP realizes saving website visits as shortcut desktop mode

PHP realizes saving website visits as shortcut desktop mode

WBOY
WBOYOriginal
2016-07-25 08:44:241030browse
  1. /*
  2. Save desshortcut.php and visit to save the desktop
  3. */
  4. $title="Open code";
  5. $Shortcut = "[InternetShortcut]
  6. URL=http://www. open-open.com
  7. IDList=
  8. [{000214A0-0000-0000-C000-000000000046}]
  9. Prop3=19,2";
  10. Header("Content-type: application/octet-stream");
  11. header(" Content-Disposition: attachment; filename=".$title.".url;");
  12. echo $Shortcut;
  13. ?>
Copy code

PHP


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