<?php |
02 |
$Shortcut = "[InternetShortcut] |
03 |
URL=http: //blog.emtalk.net/ |
04 |
IconFile=http: //blog.emtalk.net/favicon.ico |
05 |
IconIndex=0 |
06 |
HotKey=1613 |
07 |
IDList= |
08 |
[{9F4C2855-9F79-4B39-A8D0-E1D42DE1D5F3}] |
09 |
Prop3=19,2"; |
10 |
header( "Content-Type: application/octet-stream" ); |
11 |
header( "Content-Disposition: attachment; filename=PHP学习博客.url" ); |
12 |
echo $Shortcut ; |
13 |
?> |
14 |
15 |
<a href= "" >发送到桌面</a> |
嘿嘿,重点在于10和11两行;有没有很Easy的感觉?哈~
<?php |
02 |
$Shortcut = "[InternetShortcut] |
03 |
URL=http: //blog.emtalk.net/ |
04 |
IconFile=http: //blog.emtalk.net/favicon.ico |
05 |
IconIndex=0 |
06 |
HotKey=1613 |
07 |
IDList= |
08 |
[{9F4C2855-9F79-4B39-A8D0-E1D42DE1D5F3}] |
09 |
Prop3=19,2"; |
10 |
header( "Content-Type: application/octet-stream" ); |
11 |
header( "Content-Disposition: attachment; filename=PHP学习博客.url" ); |
12 |
echo $Shortcut ; |
13 |
?> |
14 |
15 |
<a href= "" >发送到桌面</a> |
嘿嘿,重点在于10和11两行;有没有很Easy的感觉?哈~