Results 1 to 7 of 7

Thread: Need Html code to add .zip files to website

  1. #1
    Junior Member
    Join Date
    May 2005
    Posts
    4

    Unhappy Need Html code to add .zip files to website

    Ok right now im on a budget so im using a geocity website abd i need to know what is the whole html code to put a zip folder download on your website thank you so much also along with that how can i make it in to a sentence i want insdeat of the file name thanx

  2. #2
    Ninja Code Monkey
    Join Date
    Nov 2001
    Location
    Washington State
    Posts
    1,027
    www.google.com

    html tutorials are your friend.
    "When I get a little money I buy books; and if any is left I buy food and clothes." - Erasmus
    "There is no programming language, no matter how structured, that will prevent programmers from writing bad programs." - L. Flon
    "Mischief my ass, you are an unethical moron." - chsh
    Blog of X

  3. #3
    Junior Member
    Join Date
    May 2005
    Posts
    4
    I can't find it plz just give me a website or the code

  4. #4
    Banned
    Join Date
    Aug 2001
    Location
    Yes
    Posts
    4,424
    Code:
    <a href="filelocation/filename.zip">sentence i want insdeat of the file name thanx</a>
    And you can't find that on Google?

  5. #5
    Senior Member
    Join Date
    Jun 2004
    Posts
    281
    Like Negative posted. You set it up like a normal hyperlink.

    I must remind you that google is the helping hand in the computer industry. Learn to love it bud.

    - MilitantEidolon
    Yeah thats right........I said It!

    Ultimately everyone will have their own opinion--this is mine.

  6. #6
    Code:
    <?php
    
    $name = $_GET['name'];
    $ext = ".zip";
    
    echo "<a href=\"/downloads/$name$ext\">Download $name</a>\n";
    
    ?>
    and then use it like download.php?name=myfile

    // just had to be more complicated than anyone else

    v_Ln

  7. #7
    Senior Member
    Join Date
    Feb 2004
    Posts
    270
    The guy is struggeling with basic html

    and you hit him with a server side scripting language....... Your mean!
    Since the beginning of time, Man has searched for the answers to the big questions: \'How did we get here?\' \'Is there life after death?\' \'Are we alone?\' But today, in this very theatre, you will be asked to answer the biggest question of them all...WHO LIVES IN A PINEAPPLE UNDER THE SEA?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •