Detect Real User Agent (Grabber)
Collapse
X
-
Originally posted by kiss View Postwww.inbuzunar.mobi - Your mobile portal pocket
Comment
-
Originally posted by arnage View Postwww.inbuzunar.mobi - Your mobile portal pocket
Comment
-
somehow i just don't get it...
i mean..
i dont understand,
why you need any script for detecting browser ??
DEMO !!(it is JUST two lines of simple code)
demo site fixed now, so you got actualy displayed:- browser
- code how to display browser
unbelievable i'ts free, unlike here ==>>> 15 € ??? WTF
p.s.
I did not know, that is sooo(kind a... LFMAO) hard,
to display PHP code on simple site,
but OK, I've learnt now that tooLast edited by metulj; 14.10.11, 22:26.It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt.
ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ â“â“¡â“” â“ⓑⓛⓔ ⓣⓞ â“—â“”â“â“¡ !
ιη тнєσÑу, тнє ÏÑα¢тι¢є ιѕ α Ñєѕυℓт σƒ тнє тнєσÑу, вυт ιη ÏÑα¢тι¢є ιѕ тнє σÏÏσѕιтє.
Comment
-
Code:function is_bot($user_agent) { //if no user agent is supplied then assume it's a bot if($user_agent == "") return 1; //array of bot strings to check for $bot_strings = Array( "google", "bot", "yahoo", "spider", "archiver", "curl", "python", "nambu", "twitt", "perl", "sphere", "PEAR", "java", "wordpress", "radian", "crawl", "yandex", "eventbox", "monitor", "mechanize", "facebookexternal" ); foreach($bot_strings as $bot) { if(strpos($user_agent,$bot) !== false) { return 1; } } return 0; }
Code:function gum_real_ua() { //GET REAL DEVICE USER AGENT $keyname_ua_arr = array('HTTP_X_DEVICE_USER_AGENT', 'HTTP_X_OPERAMINI_PHONE_UA','HTTP_X_BOLT_PHONE_UA', 'HTTP_X_MOBILE_UA', 'HTTP_USER_AGENT'); foreach ($keyname_ua_arr as $keyname_ua) { if (!empty($_SERVER[$keyname_ua])) { return $_SERVER[$keyname_ua]; //REAL UA break; } } }
Good Luck Kiss
Boom other found.Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
Visit: WapMasterz Coming Back Soon!
_______
SCRIPTS FOR SALE BY SUBZERO
Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
_______
Info & Tips
php.net
w3schools.com
Comment
-
Originally posted by GumSlone View Postjust leave him
dont destroy his ego,
he has probably spent many hours/days on coding his script
it take less than 2 minutes to put browser_detect code on server LOLIt's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt.
ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ â“â“¡â“” â“ⓑⓛⓔ ⓣⓞ â“—â“”â“â“¡ !
ιη тнєσÑу, тнє ÏÑα¢тι¢є ιѕ α Ñєѕυℓт σƒ тнє тнєσÑу, вυт ιη ÏÑα¢тι¢є ιѕ тнє σÏÏσѕιтє.
Comment
Comment