[resolved] [closed] Create link to PDF file (6 posts)

  1. MaximumGames
    Posted 2 years ago #

    I need to embed a link on this page that will enable a user to click on it to download a pdf manual. Any help would be much appreciated.


  2. kmessinger
    Forum Moderator
    Posted 2 years ago #

    A normal link
    <a href="http://www.mysite/wherethePDFisstored" title="Title of PDF">Click here for PDF</a>
    Some browsers will download the file first, some will just open it and then you have the option to save the file. Totally up to the browser.

  3. MaximumGames
    Posted 2 years ago #

    Do you know where this line of code should be entered?

  4. MaximumGames
    Posted 2 years ago #

    We figured it out! Thanks!

  5. Fatih SARI
    Posted 2 years ago #

    You want hotlink to files.
    You can it.

    1. Create a any php file.
    2. Paste this codes to this file. (http://pastebin.com/8UuysSqV)
    3. Edit your link same this: http://fatih.co/hotlink.php?url=http://fileurl.com/yourfile.pdf&type=application/pdf&name=yourfile.pdf

    *url is your file full url. with http
    *type is your file mime type. (what is mime types? - http://www.webmaster-toolkit.com/mime-types.shtml)
    *name is your file name, after download (in pc)

  6. kmessinger
    Forum Moderator
    Posted 2 years ago #

    @Fatih SARI

    In the webmaster community, "hot linking" is a curse phrase. Also known as "bandwidth stealing" by the angry site owner, it refers to linking directly to non-html objects not on one own's server, such as images, .js files etc. The victim's server in this case is robbed of bandwidth (and in turn money) as the violator enjoys showing content without having to pay for its deliverance. The most common practice of hot linking pertains to another site's images.

    Since the OP's problem has been solved I am marking this resolved and closed.

Topic Closed

This topic has been closed to new replies.

About this Topic