Show mobile phone

Started on the old forum in February 2011 · view the original in the archive · old links redirect here

1 reply · 416 views · started 15 years ago · 1 min read

2 participants
naveed Junior · 17 posts #1

I want to show mobile phone of the users i use

<? $phone=explode("",$_SERVER['HTTP_USER_AGENT']); $phone=$phone[0]; print "You are using $phone"; //will print phone name ?>

but when a user is browsing with e.g Opera mini it shows "you are using opera/8.01. i want it to show only phone name not the phone version like "You are using opera" pls help

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close