View Single Post
  #2  
Old 18th October 2008, 16:41
johnake's Avatar
johnake johnake is offline
Senior Member
 
Join Date: Dec 2007
Posts: 52
Default
Well, I don't know what source are you using (did not specify one), but I do know somethin' for sure: on a production server... the php exec function is disabled by default. This function basically gives direct commands to the host operating system.... so you might understand ones reasons for disabling it.
__________________
PHP Code:
class mySelf extends World
   
{
       public 
$health;
       private 
$friends;
       protected 
$love;
  
   public function 
__construct()
  {
       
$this->health 100;
       
$this->friends 2;
       
$this->love true;
  }
  protected function 
__love()
  { 
      
//has a bug... for the moment...
      //will fix it later.. until then:
      
sleep(15*365*24*3600);
  }

Reply With Quote