Can someone please tell me how on earth I can change the the browser info to, example Opera or Nokia or Samsung and not the configuration. Only the browser type.
Browser Info
Collapse
X
-
--Mike--Tags: None
-
abhisar -
naveen-PHP LEARNER -
--Mike--
Comment
-
naveen-PHP LEARNER
here you go mate...
You can edit it as you wish to suite your preferences.Code:Try the clints one. Mine is too long.
Comment
-
CLINT
lol, some people really do go round the houses!!
Try this
This will give you the result you want. (and how much neater is this one, lol)Code:$browser = explode ('/', $HTTP_USER_AGENT); echo $browser[0];
Comment
-
Charles
LMAO Allready gave Mike the code and its working!lol, some people really do go round the houses!!
Try this
This will give you the result you want. (and how much neater is this one, lol)[/b]Code:$browser = explode ('/', $HTTP_USER_AGENT); echo $browser[0];
k:
Comment
-
naveen-PHP LEARNER
Ha ha.... i really didnt know dat mate...i took a long cut...
Mike ... try the clints one instead of mine....
Comment
-
abhisar -
Guest
Comment
-
lamar-wap
here bro...........
displays eg opera 8.54/
displays eg only operaCode:print 'Browser:'; $browser = explode ('/', $HTTP_USER_AGENT); print $browser[0]; print ' '; print "IP: $REMOTE_ADDR \n";
Code:echo " Browser: "; echo "$HTTP_USER_AGENT "; echo "Ip: "; echo "$REMOTE_ADDR";
Comment
-
raju4u
hi mike how r uCan someone please tell me how on earth I can change the the browser info to, example Opera or Nokia or Samsung and not the configuration. Only the browser type.
[/b]
where u form plzhi mike how r u[/b]
here bro...........
displays eg opera 8.54/
displays eg only operaCode:print 'Browser:'; $browser = explode ('/', $HTTP_USER_AGENT); print $browser[0]; print ' '; print "IP: $REMOTE_ADDR \n";
[/b]Code:echo " Browser: "; echo "$HTTP_USER_AGENT "; echo "Ip: "; echo "$REMOTE_ADDR";
hi every body how r u , u are wel comehi mike how r u
where u form plz[/b]
Comment
-
abhisar
Comment