How to show User agent
Started on the old forum in February 2011 · view the original in the archive · old links redirect here
For mobile phone
<? $phone=explode(" ",$_SERVER['HTTP_USER_AGENT']); $phone=$phone[0]; print "You are using $phone"; ?>hey its easy. Why dont u guys search before creating a thread?? Its been posted several times.
here http://coding-talk.com/f46/source-codes-small-scripts-360/index23.html
And here http://coding-talk.com/f46/source-codes-small-scripts-360/index16.html
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... _______…
Forget it then don't worry.
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... _______…
hidden wrote: for showing real browser
function getrealbrowser(){ $ubrr = $_SERVER['HTTP_USER_AGENT']; $ope = $_SERVER['HTTP_X_OPERAMINI_PHONE_UA']; if ($ope==""){ $br = $ubrr; }else{ $br = "$ope $ubrr"; } $br = mysql_real_escape_string($br); $br = htmlspecialchars($br); return $br; }
Bro. i put this code in core.php but plz tell me now which code nned for profile in index.php?? sorry for bad my english.
$browser = getrealbrowser();
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... _______…
subzero wrote: $browser = getrealbrowser();
But i wanna use Both Browser and if user using opera then Operamini phone: show phone
so plz give complete code.
in your index..... just check $brws Then you make like this....
$brws = getrealbrowser();
our lfe is simple words.... 😌 http://mygenkz.net ewanz06@yahoo.com
$output="i am NOoob....";
$newfile="ewanz.txt";
$file = fopen ($newfile, "w");
fwrite($file, $output);
fclose ($file);