note 7640 deleted from get_browser by ronabop

From: Date: Sun, 03 Sep 2000 10:20:09 +0000
Subject: note 7640 deleted from get_browser by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-4041@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?

« previous php.notes (#4041) next »