Jump to content


Photo

php(mailing detection)


  • Please log in to reply
4 replies to this topic

#1 Ninjakreborn

Ninjakreborn
  • Members
  • PipPipPip
  • Information Technology Specialist
  • 3,922 posts
  • Age:33

Posted 31 May 2006 - 07:57 PM

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]

------

Business Website: http://www.infotechnologist.biz

Personal Website: http://www.joyelpuryear.com

Blog Site: http://www.realmofwriting.com
Services: Web development, application development, mobile development, and custom development. All services listed on my website.


#2 poirot

poirot
  • Members
  • PipPipPip
  • Advanced Member
  • 646 posts
  • LocationAustin, TX

Posted 31 May 2006 - 08:03 PM

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.
~ D Kuang

#3 Ninjakreborn

Ninjakreborn
  • Members
  • PipPipPip
  • Information Technology Specialist
  • 3,922 posts
  • Age:33

Posted 31 May 2006 - 08:10 PM

If I do that is there a way for me to pass the information from java script to php for emailing.

------

Business Website: http://www.infotechnologist.biz

Personal Website: http://www.joyelpuryear.com

Blog Site: http://www.realmofwriting.com
Services: Web development, application development, mobile development, and custom development. All services listed on my website.


#4 poirot

poirot
  • Members
  • PipPipPip
  • Advanced Member
  • 646 posts
  • LocationAustin, TX

Posted 31 May 2006 - 08:25 PM

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

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

When the form is submitted you'll know if JS is on or not
~ D Kuang

#5 Ninjakreborn

Ninjakreborn
  • Members
  • PipPipPip
  • Information Technology Specialist
  • 3,922 posts
  • Age:33

Posted 31 May 2006 - 08:26 PM

Hmm thanks I appreciate it, I am going to go play now with that and my design, I appreciate the help, thanks.

------

Business Website: http://www.infotechnologist.biz

Personal Website: http://www.joyelpuryear.com

Blog Site: http://www.realmofwriting.com
Services: Web development, application development, mobile development, and custom development. All services listed on my website.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users