Howdy, Stranger!

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

Categories

I need a download file page in PHP!!!

jatsesjatses Member Posts: 2
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

  • SouldrinkerSouldrinker Member Posts: 143
    [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]

  • Justin BibJustin Bib USAMember Posts: 0

    ______ | http://forcoder.org | free video tutorials and ebooks about // Delphi, Ruby, Perl, Assembly, Visual Basic .NET, MATLAB, PHP, Visual Basic, C++, Scratch, R, Java, Objective-C, C, JavaScript, PL/SQL, Go, C#, Swift, Python Bash, Dart, COBOL, Ada, Scala, Awk, Julia, Erlang, Clojure, Lisp, Alice, Fortran, Prolog, VBScript, Kotlin, SAS, Scheme, D, ABAP, Hack, Rust, Transact-SQL, ML, LabVIEW, Crystal, FoxPro, Apex, Lua, F#, Logo // ________

Sign In or Register to comment.