PHP Scripts Development » PHP snippets and scripts forum

File Download Script

(6 posts)

Great offers not only for geeks!


  1. User has not uploaded an avatar

    jasenkob
    Member

    Hi,

    I don't really understand how to implement the file download script into my website. Where exactly do I place the "Open Directory" script? And where do I put the "Universal Downloader"? And is this script only for pdf files?

    Posted 5 months ago #
  2. Hi, I think it will be impossible to use those snippets if you dont what the code will do you for you.
    My hint: Study the php manual about the used php functions inside the snippets.

    Posted 5 months ago #
  3. User has not uploaded an avatar

    jasenkob
    Member

    I was trying to reproduce the demo page you have running on this site
    http://www.finalwebsites.com/demos/php_file_upload.php
    but It's not really working out. I succeded in the upload part, but the download part remains a mystery...

    Thanx for the tip anyway.

    Posted 5 months ago #
  4. ??? the included file "upload_demo.php" is a working example...

    Posted 5 months ago #
  5. User has not uploaded an avatar

    jasenkob
    Member

    Hey, I think I found out what the problem was.

    In the upload_demo.php there was a line wich i think doesn't belong there. On line two it says:
    require($_SERVER['DOCUMENT_ROOT']."/includes/header.php");

    I think that was my problem. Once I got rid of that, it worked fine. Cool Script though! Thanx a lot!

    Posted 5 months ago #
  6. I think I should remove that row of code (it belongs to my configuration)

    success!

    Posted 5 months ago #

RSS feed for this topic

Reply

You must log in to post.