/**
* 保存首页到桌面
*/
public function save_shortcut() {
$shortcut = "[DEFAULT]
BASEURL=http://www.19youxi.com/
[InternetShortcut]
URL=http://www.19youxi.com
IDList=IconIndex=43
IDList=
IconFile=http://www.19youxi.com/favicon.ico
HotKey=1626
[{000214A0-0000-0000-C000-000000000046}]
Prop3=19,2
";
header('Content-Type: application/octet-stream');
header("Content-Disposition: attachment; filename=19游戏.url");
echo $shortcut;
}
05-12 12:11