Here's a small CLASS that I use to distinguish between various browsers. It doesn't work with all browsers but works for most versions of IE/netscape/opera.
http://www.utkalika.net/projects/browser.phps R'twick Niceorgaw "Fabian Hoffmann" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi all! > > I need your for a buggi PHP-Skript! > > At the start of my Page my Script must automaticly decide between IE or > other Explorers!! Because the Iex Version is another then the Netscape > Version!! > > My Scipt at the moment: > > <?php > > if($HTTP_USER_AGENT=="Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)") > > {?> > > <meta http-equiv="refresh" content="0;URL=deutsch/index.php?con=home.htm"> > > <?} > > else > > {?> > > <meta http-equiv="refresh" content="0;URL=cnv/index.htm"> > > <?}?> > > The Problem is I cant write all Iex versions into the script... or I wont > ... > > Have anyone an idea ????????????? > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php