Jump to content

Recommended Posts

I am trying to write up my own script now, on my site, I have a seperate inbox set up for it, I am wanting to write a script to detect a browser, ip number, operating system, what set of functions should I use from php or what terms should I search for to get a pretty good list of what I can pull from the power of php that involves detection. because when I write the script I am wanting to write it to where it emails me to that box everytime someone visits that site, and I want it to email me there ip address, browser, whether they have javascript java and cookies on, and some other stuff, and then I can save the data by there ip, so I know how many time each person with each ip comes, and as well I will know what sites they visit as I get an email everytime they open up a new page, so I can follow them in real time, it would be interesting. Thanks. The question was by the way in case if it's confusing
[!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]
what set of functions should I use from php, or what terms should I search for to get a pretty good list of what I can pull from the power of php that involves "detection",
[/quote]
Link to comment
https://forums.phpfreaks.com/topic/10892-phpmailing-detection/
Share on other sites

OK, as for:

Browser/Operating system/Browser Capabilities: get_browser()
[a href=\"http://www.php.net/get_browser\" target=\"_blank\"]http://www.php.net/get_browser[/a]

IP Number: $_SERVER['REMOTE_ADDR']

Javascript/Java: You can use Javascript to check if they are on.

Cookies: You can try this by setting a cookie and see what happens.
Link to comment
https://forums.phpfreaks.com/topic/10892-phpmailing-detection/#findComment-40679
Share on other sites

Yes there is. A simple example on how to detect javascript is:

[code]<body onload="document.getElementById('detect').value='on">
(...)
<input type="hidden" name="javascript" id="detect" value="off">[/code]

When the form is submitted you'll know if JS is on or not
Link to comment
https://forums.phpfreaks.com/topic/10892-phpmailing-detection/#findComment-40687
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.