Create a new PHP document: Just remember the name, for example, export cut. php.
Content in the PHP document:
Code
Copy code The Code is as follows: <? PHP
$ Shortcut = "[internetshortcut]
Url = http://www.jb51.net/
Idlist =
[{000214a0-0000-0000-c000-000000000046}]
Prop3 = 19,2
";
Header ("Content-Type: Application/octet-stream ");
Header ("content-Disposition: attachment; filename = script home. url ;");
Echo $ shortcut;
?>
to display the icon, make sure that favicon is in the root directory of the website. ICO file
upload to the website, visit address: such as: http://www.jb51.net/shortcut.php will be prompted to download a house named feet. save the URL File locally as a shortcut!
The following is the ASP implementation code: copy Code the code is as follows: <%
id = int (Request (" ID "))
If Id = "" Then Id = "1"
Title = request ("title ")
If title = "" Then Title = ""
cut = "[internetshortcut]" & vbcrlf
cut = Cut & "url = http://www.jb51.net/article/" & ID &". htm? Desktop "& vbcrlf
shortcut = shortcut &" idlist = "& vbcrlf
shortcut = shortcut &" [{000214a0-0000-0000-c000-00000046}] "& vbcrlf
shortcut = shortcut & shortcut & "prop3 = 19,2" & vbcrlf
shortcut = shortcut & "& vbcrlf
response. addheader "content-disposition", "attachment; filename =" & Title &". URL; "
response. contenttype = "application/octet-stream"
response. write shortcut
%>
note that the lock may be caused by security issues.
the following operations are required. URL "--" right-click -- "Property --" is unlocked to access the CHM file, which requires similar operations like the CHM file downloaded online.