Home >Backend Development >PHP Tutorial >将网页的快捷方式保留到桌面PHP代码
将网页的快捷方式保存到桌面PHP代码
<?php $Shortcut = "[DEFAULT]BASEURL=http://www.xxxxxx.com/[InternetShortcut]URL=http://www.xxxx.com/Modified=B07A55D9386FCA01CAIconFile=http://www.xxxx.com/favicon.icoIconIndex=1";Header("Content-type: application/octet-stream");header("Content-Disposition: attachment; filename=xxxx.url;");echo $Shortcut;?>?