Bro i want to make %phn% or :phone: tag to show user agent.Can any1 of u help me
help me in coding %phn%
Collapse
X
-
WTF %phn% tag ?!?
you only need this
PHP Code:<?php
$browser=$_SERVER['HTTP_USER_AGENT'];
echo $browser;
?>It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt.
ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ â“â“¡â“” â“ⓑⓛⓔ ⓣⓞ â“—â“”â“â“¡ !
ιη тнєσÑу, тнє ÏÑα¢тι¢є ιѕ α Ñєѕυℓт σƒ тнє тнєσÑу, вυт ιη ÏÑα¢тι¢є ιѕ тнє σÏÏσѕιтє.
-
Originally posted by shushant View PostBro i want to make %phn% or :phone: tag to show user agent.Can any1 of u help mePHP Code:$sample_text = 'You are using :phone: to view this site.';
$sample_text = stristr($sample_text, array(':phone:' => $_SERVER['HTTP_USER_AGENT']));
echo $sample_text;
Comment
Comment