Google Answers Logo
View Question
 
Q: Simple PHP Script Needed! ( No Answer,   0 Comments )
Question  
Subject: Simple PHP Script Needed!
Category: Computers > Internet
Asked by: jellybeans-ga
List Price: $25.00
Posted: 31 Jan 2004 17:18 PST
Expires: 01 Feb 2004 19:48 PST
Question ID: 302280
Hi! This question is open to all:

I would like a simple PHP script that emails me notification of a
preset HTTP_USER_AGENT visitor hitting a page on my website.

For example, let's say I want to be notified via email that the
following user agent visited a page on my website:

Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; sbcydsl 3.12)

The script needs to check the value of each visitors HTTP USER AGENT
value, and compare it with the above value (presumably stored
somewhere in the script).

If it matches, then it needs to send me an email. Exactly what the
email says I don't really care.  If it does not match, then it needs
to do nothing.

Hoping someone can cook this up, good tip for working script.

P.S.   I would like to call the script using a <img
src="http://www.website.com/script.php" height=1 width=1> method.  I
do not want a script reliant on Server Side Includes (SSI).

Please try and test your script as thoroughly as possible before answering.


Many thanks
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy