note 7640 added to get_browser

From: Date: Thu, 10 Aug 2000 04:09:44 +0000
Subject: note 7640 added to get_browser
Groups: php.notes 
Request: Send a blank email to php-notes+get-754@lists.php.net to get a copy of this message
OK, I copied the script: $ua = get_browser (); if ( ( $ua->browser == "Netscape" ) && ( $ua->version < 5 ) ) { // code to fix the page for netscape :) } but all I succeed in recieving is: Warning: $ua is not an object in header.txt on line 9 where line 9 is the line with the if command. I am using php3. Any ideas? http://www.php.net/manual/function.get-browser.php

« previous php.notes (#754) next »