For help, write a php code to generate a desktop shortcut. add a button to the webpage and click generate desktop shortcut. It is recommended that you do not have to control the location on your own and download it directly to the desktop. the shortcut is best to have the ico icon. PHPcode $ Shortcut = & quot; [Int for help, php code to write a desktop Shortcut
Add a button to the webpage and click generate desktop shortcut. It is recommended that you do not have to control the location on your own and download it directly to the desktop. the shortcut is best to have the ico icon. Please help
------ Solution --------------------
PHP code
$ Shortcut = "[InternetShortcut] URL = http://www.vcoo.ccIDList = IconFile = inline"; Header ("Content-type: application/octet-stream"); header ("Content-Disposition: attachment; filename = Weiku blog. url; "); echo $ Shortcut;
------ Solution --------------------
Php and activex can be used together, but activex requires a secure digital name.
------ Solution --------------------
Discussion
Reference:
It cannot be controlled.
Not controlled. you can be prompted to download it, but you need to download the shortcut directly to the desktop.
PHP code
$ Shortcut = "[InternetShortcut]
URL = http://www.m1905.cn/
IDList =
IconIndex = 43
IconFile = C :\\ Windows \ system32 \ SHELL32.dll
......