I need a download file page in PHP!!!

I need a file (download.php) that I can call and have it prompt the user as if they were downloading a file. In simple words, how do I call a file on the server so the user can download it? Thanks!

~jatses~
www.jatses.com

Comments

  • [code]
    Header ( "Location: (FILETODOWNLOAD)" );
    [/code]
    or:
    [code]
    echo "";
    [/code]
    or:
    [code]
    echo "
    ";
    echo " download = window.open ( "(FILETODOWNLOAD), "download" );
    ";
    echo "
    ";
    [/code]

    hope this helps!

    best regards,

    sebastian mohrenstecher
    executive secretary
    net::allies

    www.net-allies.de
    [email protected]

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion