Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6

Thread: urgent help

  1. #1
    New Coder
    Join Date
    Nov 2005
    Posts
    56
    Thanks
    0
    Thanked 0 Times in 0 Posts

    urgent help

    Hello, I have a little problem.

    I have a template page that every user sees and waits 25 seconds before downloading a file. I just noticed that by typing http://www.xtrafile.com/download.php...e=filename.zip
    it downloads it automatically therefore bypassing the timer.

    I put the files in a non webaccessable directory (parent directory of public_html) but it still downloads.

  • #2
    $object->toCD-R(LP); vinyl-junkie's Avatar
    Join Date
    Jun 2003
    Posts
    3,091
    Thanks
    2
    Thanked 23 Times in 23 Posts
    Use $_POST variables in the URL, then check in your script to see if the variables were passed to it that way.

    BTW, you really need to read the Posting Guidelines and put a better subject line on your posts than that. "Urgent help" just doesn't cut it.
    Music Around The World - Collecting tips, trade
    and want lists, album reviews, & more
    SNAP to it!

  • #3
    New Coder
    Join Date
    Nov 2005
    Posts
    56
    Thanks
    0
    Thanked 0 Times in 0 Posts
    do you have an example of how i would do that? i

  • #4
    Senior Coder
    Join Date
    Nov 2003
    Location
    Minneapolis, MN
    Posts
    2,879
    Thanks
    2
    Thanked 65 Times in 56 Posts
    Quote Originally Posted by brotherhewd
    do you have an example of how i would do that? i
    Sure… you could try "How to force a timed download?" or "prevent immediate downloads." If you're adventurous you could use "How to force user to wait for a download?" Those are all pretty descriptive titles that will help the forum searches a lot.

  • #5
    New Coder
    Join Date
    Nov 2005
    Posts
    56
    Thanks
    0
    Thanked 0 Times in 0 Posts
    no i meant with the $_POST lol

  • #6
    New Coder
    Join Date
    Nov 2005
    Posts
    56
    Thanks
    0
    Thanked 0 Times in 0 Posts
    [QUOTE=vinyl-junkie]Use $_POST variables in the URL, then check in your script to see if the variables were passed to it that way.

    how would you do that


  •  

    Posting Permissions

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