Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
500 error
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="EngeldesTodes" data-source="post: 333095" data-attributes="member: 2432"><p>right that now works but i got another problem </p><p><strong>Parse error</strong>: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or '(' in <strong>C:\Inetpub\vhosts\xotel.co\inetpub\wwwroot\global.php</strong> on line <strong>22</strong></p><p><strong>[PHP]<?php</strong></p><p><strong></strong></p><p><strong> // Special Functions</strong></p><p><strong> </strong></p><p><strong> function filter($var)</strong></p><p><strong> {</strong></p><p><strong> return mysql_real_escape_string(stripslashes(htmlspecialchars($var)));</strong></p><p><strong> }</strong></p><p><strong></strong></p><p><strong>if(!defined('IN_INDEX')) { die('Sorry, you cannot access this file.'); }</strong></p><p><strong>if(isset($_SERVER['HTTP_CF_CONNECTING_IP'])) { $_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_CF_CONNECTING_IP']; }</strong></p><p><strong>error_reporting(E_ALL ^ E_NOTICE);</strong></p><p><strong></strong></p><p><strong>define('A', 'app/');</strong></p><p><strong>define('I', 'interfaces/');</strong></p><p><strong>define('M', 'management/');</strong></p><p><strong>define('T', 'tpl/');</strong></p><p><strong></strong></p><p><strong></strong></p><p><strong>//REVOLUTION</strong></p><p><strong></strong></p><p><strong>use Revolution as Rev;</strong></p><p><strong></strong></p><p><strong></strong></p><p><strong> //INTERFACES</strong></p><p><strong> </strong></p><p><strong> require_once A . I . 'interface.core.php';</strong></p><p><strong> </strong></p><p><strong> require_once A . I . 'interface.engine.php';</strong></p><p><strong> </strong></p><p><strong> require_once A . I . 'interface.users.php';</strong></p><p><strong> </strong></p><p><strong> require_once A . I . 'interface.template.php';</strong></p><p><strong> </strong></p><p><strong> //TPL</strong></p><p><strong> </strong></p><p><strong> require_once A . T . I . 'interface.forms.php';</strong></p><p><strong> </strong></p><p><strong> //HTML</strong></p><p><strong> </strong></p><p><strong> require_once A . T . I . 'interface.html.php';</strong></p><p><strong> </strong></p><p><strong> //CSS</strong></p><p><strong> </strong></p><p><strong> require_once A . T . I . 'interface.css.php';</strong></p><p><strong> </strong></p><p><strong> //JS</strong></p><p><strong> </strong></p><p><strong> require_once A . T . I . 'interface.js.php';</strong></p><p><strong> </strong></p><p><strong> </strong></p><p><strong> //CLASSES</strong></p><p><strong> </strong></p><p><strong> //app</strong></p><p><strong> </strong></p><p><strong> require_once A . 'class.core.php';</strong></p><p><strong> </strong></p><p><strong> require_once A . 'class.engine.php';</strong></p><p><strong> </strong></p><p><strong> require_once A . 'class.users.php';</strong></p><p><strong> </strong></p><p><strong> require_once A . 'class.template.php';</strong></p><p><strong> </strong></p><p><strong> //MANAGEMENT</strong></p><p><strong> </strong></p><p><strong> require_once A . M . 'config.php';</strong></p><p><strong> </strong></p><p><strong> require_once A . M . 'recaptchalib.php';</strong></p><p><strong> </strong></p><p><strong> //TPL</strong></p><p><strong> </strong></p><p><strong> require_once A . T . 'class.forms.php';</strong></p><p><strong> </strong></p><p><strong> //HTML</strong></p><p><strong> </strong></p><p><strong> require_once A . T . 'class.html.php';</strong></p><p><strong> </strong></p><p><strong> //CSS</strong></p><p><strong> </strong></p><p><strong> require_once A . T . 'class.css.php';</strong></p><p><strong> </strong></p><p><strong> //JS</strong></p><p><strong> </strong></p><p><strong> require_once A . T . 'class.js.php';</strong></p><p><strong> </strong></p><p><strong> </strong></p><p><strong> //OBJ</strong></p><p><strong> </strong></p><p><strong> $core = new Rev\core();</strong></p><p><strong> </strong></p><p><strong> $engine = new Rev\engine(); </strong></p><p><strong> </strong></p><p><strong> $users = new Rev\users();</strong></p><p><strong> </strong></p><p><strong> $template = new Rev\template();</strong></p><p><strong> </strong></p><p><strong> $template->form = new Rev\forms();</strong></p><p><strong> </strong></p><p><strong> $template->html = new Rev\html();</strong></p><p><strong> </strong></p><p><strong> $template->css = new Rev\css();</strong></p><p><strong> </strong></p><p><strong> $template->js = new Rev\js();</strong></p><p><strong> </strong></p><p><strong> //START </strong></p><p><strong> </strong></p><p><strong> session_start();</strong></p><p><strong> </strong></p><p><strong> $engine->Initiate();</strong></p><p><strong> </strong></p><p><strong> $template->Initiate();</strong></p><p><strong> </strong></p><p><strong>?>[/PHP]</strong></p><p><strong>any help would be good on that </strong></p></blockquote><p></p>
[QUOTE="EngeldesTodes, post: 333095, member: 2432"] right that now works but i got another problem [B]Parse error[/B]: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or '(' in [B]C:\Inetpub\vhosts\xotel.co\inetpub\wwwroot\global.php[/B] on line [B]22 [PHP]<?php // Special Functions function filter($var) { return mysql_real_escape_string(stripslashes(htmlspecialchars($var))); } if(!defined('IN_INDEX')) { die('Sorry, you cannot access this file.'); } if(isset($_SERVER['HTTP_CF_CONNECTING_IP'])) { $_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_CF_CONNECTING_IP']; } error_reporting(E_ALL ^ E_NOTICE); define('A', 'app/'); define('I', 'interfaces/'); define('M', 'management/'); define('T', 'tpl/'); //REVOLUTION use Revolution as Rev; //INTERFACES require_once A . I . 'interface.core.php'; require_once A . I . 'interface.engine.php'; require_once A . I . 'interface.users.php'; require_once A . I . 'interface.template.php'; //TPL require_once A . T . I . 'interface.forms.php'; //HTML require_once A . T . I . 'interface.html.php'; //CSS require_once A . T . I . 'interface.css.php'; //JS require_once A . T . I . 'interface.js.php'; //CLASSES //app require_once A . 'class.core.php'; require_once A . 'class.engine.php'; require_once A . 'class.users.php'; require_once A . 'class.template.php'; //MANAGEMENT require_once A . M . 'config.php'; require_once A . M . 'recaptchalib.php'; //TPL require_once A . T . 'class.forms.php'; //HTML require_once A . T . 'class.html.php'; //CSS require_once A . T . 'class.css.php'; //JS require_once A . T . 'class.js.php'; //OBJ $core = new Rev\core(); $engine = new Rev\engine(); $users = new Rev\users(); $template = new Rev\template(); $template->form = new Rev\forms(); $template->html = new Rev\html(); $template->css = new Rev\css(); $template->js = new Rev\js(); //START session_start(); $engine->Initiate(); $template->Initiate(); ?>[/PHP] any help would be good on that [/B] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
500 error
Top