View Single Post
  #5 (permalink)  
Old 10-18-2007, 09:15 AM
tj111 tj111 is offline
Novice
Join Date: Oct 2007
Posts: 2
iTrader: (0)
tj111 is on a distinguished road
I thought public/private/protected declarations weren't introduced until PHP 5? I could be wrong though. See the first comment (by "Aouie Web_Form_Aouie.net") at PHP: Classes and Objects (PHP 4) - Manual for a workaround.

__________________
PHP Code:
if (stristr($_SERVER['HTTP_USER_AGENT'], "MSIE")) {
    
$user 'noob';
    
session_destroy;
    
header("Location:http://firefox.com");


Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
Reply With Quote
The Following User Says Thank You to tj111 For This Useful Post:
HelloWorld (10-18-2007)