the use of ASP to achieve the Web site desktop shortcut download, is to access ASP files, the implementation of the download URL shortcuts, as we manually create on the desktop.
Method: Create a new PHP document: The name of a good note on the line such as: shortcut.asp
Content in ASP Documentation:
<%
Id=request ("id")
Liehuo_net_url=request ("Liehuo_net_url")
If Liehuo_net_url = "" Then liehuo_net_url= "Fire Academy"
shortcut = "[Internetshortcut]" & vbcrlf
Shortcut = shortcut & "Url=http://www.veryhuo.com/?desktop" & vbcrlf
Shortcut = shortcut & "idlist=" & vbcrlf
Shortcut = shortcut & "Iconfile=http://www.veryhuo.com/favicon.ico" & vbcrlf
Shortcut = Shortcut & "Iconindex=1" & vbcrlf
Shortcut = shortcut & "[{000214a0-0000-0000-c000-000000000046}]" & vbcrlf& nbsp
Shortcut = shortcut & "prop3=19,2" & vbcrlf
Shortcut = shortcut & "" & vbcrlf
R Esponse. AddHeader "Content-disposition", "Attachment;filename=" &liehuo_net_url& ". url;"
Response.ContentType = "Application/octet-stream" &NBSP;
Response.Write shortcut
%>