Web hosting rating - Part II: Developing Intranet Solutions Listing 4-4 (Continued)

Part II: Developing Intranet Solutions Listing 4-4 (Continued) $this->server = sprintf( %s://%s%s , $protocol, $this->getEnvironment( HTTP_HOST ), $port); $this->self_url = sprintf( %s://%s%s%s , $protocol, $this->getEnvironment( HTTP_HOST ), $port, $this->getEnvironment( REQUEST_URI )); } function getServer() { return $this->server; } function terminate() { if (isset($this->dbi)) { if ($this->dbi->connected) { $this->dbi->disconnect(); } } //Asif Changed session_destroy(); exit; } function authorize($username = null) { // override this method return FALSE; } function set_error_handler() { // create error handler if (defined( ERROR_HANDLER_LOADED )) $this->errHandler = new ErrorHandler(
Note: In case you are looking for affordable webhost to host and run your web application check Vision http web server services

Leave a Reply