Hi All,
I have searched for the following info, and I've found some documentation, but I am stuck. Here is what I am doing.....
I am using getenv() to retrieve a visitor's browser info.
/ GET BROWSER INFO /
$browser = getenv("HTTP_USER_AGENT");
I then want to compare it using 2 'if' statments.
/ ---- DIRECT ACCORDING TO BROWSER ----- /
if($browser == "IE4 and above"){
print "fileA";
}
if($browser == "NN4 and above"){
print "fileA";
}
/ ------------------- /
My problem is, I don't know what to put in the 'if' statement where it says 'IE4 and above' and 'NN4 and above'
Is there 'specific' documentation somewhere that can help me out here? If so, could someone point the way. I've RTFM and also visited several javascript sites to study some browser redirect scripts. I just can't tie it together. I'm blocked!
All helpful comments are welcome.
Thanks,
Bill M.