所属分类:PHP工具与代码
转载自http://www.im286.com/thread-4599469-1-4
ASP版演示地址:http://www.wtbmall.com/desktop.asp
[code]<%
Response.ContentType="APPLICATION/OCTET-STREAM"
Response.AddHeader "Content-Disposition","attachment;filename="&"乌托邦在线url"
Response.Write("[InternetShortcut]")&Chr(13)
Response.Write("URL=http://www.wtbmall.com/")&Chr(13)
Response.Write("IDList=")&Chr(13)
Response.Write("IconIndex=43")&Chr(13)
Response.Write("IconFile=C:\Windows\system32\SHELL32.dll")&Chr(13)
Response.Write("HotKey=1626")&Chr(13)
Response.Write("[{000214A0-0000-0000-C000-000000000046}]")&Chr(13)
Response.Write("Prop3=19,2")&Chr(13)
Response.End
%>[/code]
PHP版演示地址:http://www.wtbmall.com/shortcut.php<?php
[code]$Shortcut = "[InternetShortcut]
URL=http://www.wtbmall.com/
IDList=
IconIndex=43
IconFile=C:\Windows\system32\SHELL32.dll
HotKey=1626
[{000214A0-0000-0000-C000-000000000046}]
Prop3=19,2";
Header("Content-type: application/octet-stream");
header("Content-Disposition: attachment; filename=乌托邦在线.url;");
echo $Shortcut;
?>[/code]
ASP版演示地址:http://www.wtbmall.com/desktop.asp
[code]<%
Response.ContentType="APPLICATION/OCTET-STREAM"
Response.AddHeader "Content-Disposition","attachment;filename="&"乌托邦在线url"
Response.Write("[InternetShortcut]")&Chr(13)
Response.Write("URL=http://www.wtbmall.com/")&Chr(13)
Response.Write("IDList=")&Chr(13)
Response.Write("IconIndex=43")&Chr(13)
Response.Write("IconFile=C:\Windows\system32\SHELL32.dll")&Chr(13)
Response.Write("HotKey=1626")&Chr(13)
Response.Write("[{000214A0-0000-0000-C000-000000000046}]")&Chr(13)
Response.Write("Prop3=19,2")&Chr(13)
Response.End
%>[/code]
PHP版演示地址:http://www.wtbmall.com/shortcut.php<?php
[code]$Shortcut = "[InternetShortcut]
URL=http://www.wtbmall.com/
IDList=
IconIndex=43
IconFile=C:\Windows\system32\SHELL32.dll
HotKey=1626
[{000214A0-0000-0000-C000-000000000046}]
Prop3=19,2";
Header("Content-type: application/octet-stream");
header("Content-Disposition: attachment; filename=乌托邦在线.url;");
echo $Shortcut;
?>[/code]