Ok I have compiled a little code that will echo the user reading the pages browser information...
[code]<?php
if ( strpos($_SERVER['HTTP_USER_AGENT'], 'Gecko') )
{
if ( strpos($_SERVER['HTTP_USER_AGENT'], 'Netscape') )
{
$browser = 'Netscape (Gecko/Netscape)';
}
else if ( strpos($_SERVER['HTTP_USER_AGENT'], 'Firefox') )
{
$browser = 'Mozilla Firefox (Gecko/Firefox)';
}
else
{
$browser = 'Mozilla (Gecko/Mozilla)';
}
}
else if ( strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') )
{
if ( strpos($_SERVER['HTTP_USER_AGENT'], 'Opera') )
{
$browser = 'Opera (MSIE/Opera/Compatible)';
}
else
{
$browser = 'Internet Explorer (MSIE/Compatible)';
}
}
else
{
$browser = 'Unknown Browser Detected...';
}
echo $browser;
?>[/code]
Pretty much that's it pmsl! I'm not good with How-To's but Yes that works!
Preview :: [url=\"http://scorp.host-dot.com/test/browser.php\"]Browser Identification Preview[/url]
Warmest,
L0rdG0h4n
Echoing Browser Information
Moderators: Moderator, Global Moderator
Echoing Browser Information
useful stuff, Brock.. I\'m getting a \"connection refused\" on the preview link though..
keep it up
/good.gif\' class=\'bbc_emoticon\' alt=\'(Y)\' />
keep it up
[color=\"green\"]'class KPIM::ProcessManager' only defines private constructors and has no friends[/color] <-
poor class
[18:09:00] * ~Moppy stews ner0 erotically 1 times.
[18:09:00] * ~Moppy stews ner0 erotically 1 times.
Echoing Browser Information
Fixed it =p
Just tell me your browser please too
/bigwink.gif\' class=\'bbc_emoticon\' alt=\';)\' />
Just tell me your browser please too
Echoing Browser Information
I mean ner0 but meh lol
Echoing Browser Information
same as trin
Mozilla Firefox (Gecko/Firefox)
Mozilla Firefox (Gecko/Firefox)
[color=\"green\"]'class KPIM::ProcessManager' only defines private constructors and has no friends[/color] <-
poor class
[18:09:00] * ~Moppy stews ner0 erotically 1 times.
[18:09:00] * ~Moppy stews ner0 erotically 1 times.

