function browserChecking(){
$browser = get_browser(null, true);
if($browser[browser]=="mozilla"){
return true;
}
else{
return true;
}
}
function isMozilla() {
$useragent=$_SERVER['HTTP_USER_AGENT'];
if (stristr($useragent, 'mozilla')){
return true;
}else{
return false;
}
}
[Wednesday, March 05, 2008
|
1 comments
]
[Wednesday, March 05, 2008
|
0
comments
]
function browserChecking(){
$browser = get_browser(null, true);
if($browser[browser]=="IE"){
return true;
}
}
function isIeSeven() {
$useragent=$_SERVER['HTTP_USER_AGENT'];
if (stristr($useragent, 'msie 7')) {
return true;
}else{
return false;
}
}
function isIeSix() {
$useragent=$_SERVER['HTTP_USER_AGENT'];
if (stristr($useragent, 'msie 6')){
return true;
} else{
return false;
}
}
Popular Posts
- Jquery based dynamic adding and removal of html elements.
- functiion for MD5 encrypting and decrypting
- MySql Questions
- creating dynamic elements in HTML using Javascript.
- Contact Me
- php question
- File upload progress meter in php
- MYSQL joins
- Questoin regarding classes
- Add/Remove text control using javascript