PHP code that is saved to the desktop and set as a desktop with icons

Source: Internet
Author: User

1. Create a PHP file. The PHP code is as follows:

PHP code that is saved to the desktop and set as the Desktop

The code for creating a file named topurl. php is as follows:
Copy codeThe Code is as follows:
<? Php $ Shortcut = "[InternetShortcut] URL = 'your domain name' IDList = IconIndex = 43 IconFile =/favicon. ico HotKey = 1626 [{000214A0-0000-0000-C000-000000000046}] Prop3 = 19,2 "; Header (" Content-type: application/octet-stream "); header (" Content-Disposition: attachment; filename = bank interest rate. url "); echo $ Shortcut;?>

Save it as your topurl. php, or whatever name you like, and retrieve it by yourself.

2. Insert the code that calls the above Code at the position you want to display

As follows:

01. <a href = "your domain name/registrant topurl. php "target =" _ blank "> <STRONG> <FONT style =" FONT-SIZE: 16px; FONT-FAMILY: arial "color = #000000> Add to desktop </FONT> </STRONG> </a>

02. Copy the code. Of course, depending on your preferences, you can see how to design the font, size, color of the text, or even use an image instead.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.