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
    Jun 2008
    Posts
    19
    Thanks
    1
    Thanked 0 Times in 0 Posts

    is this possible?

    Hey there,

    I have a software (.exe) which I want to offer on my website,
    Before downloading, registration is required for all users.

    if the user is already registered, he/she can download it without a hassle.

    the thing is that I want to say 'thanks' after the user chose to download the software and HIDE the exact location of the .exe file, right now i'm using
    PHP Code:
    header("Location: mysite.com/mysoftware.exe"); 
    is there a way to say thanks before using header() to the software location? (which is embedded in the php code and therefore not visible to the user...)

    Lior.

  • #2
    Regular Coder seco's Avatar
    Join Date
    Nov 2008
    Location
    Oregon
    Posts
    687
    Thanks
    6
    Thanked 79 Times in 77 Posts
    put a simple php mail function before the header.


  •  

    Posting Permissions

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