Jump to content

hjvanes

New Members
  • Posts

    5
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

hjvanes's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Dear PPL, I was wondering to get some advice on how I can prevent multiple download of a trial software I have up on my website. The idea is that the user should be able to download the trial software initially. However, it should also recognise him/her coming back to the website in 10 days time or a month after the expiration to redownload it again. I understand a method to use would be cookies, however these can be deleted or if using a different browsers can still allow the download to occur. I need to be able to recognise the computer surfing the website in some fashion or another. IP address is another method but even these can change and is in no way a secure method for detecting. Not sure if there is a way to obtain the computer id. Any help or pointers would be greatly appreciated and thank you in advance. regards, HJ
  2. Hello PHPers, I need help regards obtaining the correct Host and IP address. Using all browsers except mozilla-firefox, I will received the correct IP address. But with Mozzilla-firefox I get the wrong Host and IP address back as 10.1.23.22 ..The code I have is $mj_ip = $_SERVER['REMOTE_ADDR']; $mj_host = gethostbyaddr($_SERVER['REMOTE_ADDR']); Cheers, HJ
  3. Hello PHPers, One more help I think may be wrong. I currently have code as $_GET['width'] . "x" . $_GET['height'];. This provides continually with 640 * 480. believe this to be incorrect as I do not think that everyones screen is set to this. Neither is my screen resolution and is still capturing these figures. Is there something wrong with the variable that should be changed so that it can pick up the visitors screen resolution. Thank you kindly, HJ
  4. Hello PHPers, Need help. I am using $_SERVER['REQUEST_URI']; in order to obtain the URL that the visitor came from. No matter what I try to change I get more info than required. IE. mojo/mojo.php?width=640&height=480&doc_location=/&doc_title=Marc%20Rob&doc_refer=http%3A//www.aaa.com.au/rob.html instead and what I should be getting is just http://www.aaa.com.au/rob.html Could somebody please help me and let me know why this is appearing with the extra info which I do not want. Thank you. HJ
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.