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 2 of 2
  1. #1
    New Coder
    Join Date
    May 2006
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Lightbulb idea required about template php file.

    I bought a software from a company 3 months ago.
    the company sent me an email which contained a page-link with a download-link on the page.
    After I downloaded the software, the page became invalid.

    ----------------------------
    Now I want to create same process:

    ----------------------------
    I send a page-link to buyer, after the buyer downloads my software from download-link on the page, the page becomes invalid.

    ----------------------------
    could you help me to do that by php, html and/or java-script?
    any samples or comments are great!

    thanks.

    .

  • #2
    Senior Coder
    Join Date
    Nov 2002
    Location
    North-East, UK
    Posts
    1,265
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You need a script that emails a link with a temp key.
    When this link is opened the script updates the database stating that the temp key has been used. Basically a flag which you can set.

    You can then use a force download script to prompt the user to download the file.

    http://elouai.com/force-download.php


  •  

    Posting Permissions

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