Error Page Advertising

Status
Not open for further replies.

Thequestion

New Member
Messages
26
Reaction score
0
Points
0
First of all I love x10hosting, I'm on the advanced package. Now I have read the advertising rules and I have complied with them so far. But I have one question that I don't think was answered before. Do we need the advertising on error pages? For example...
Code:
    define('Id', $varId);
    if(file_exists(Id.'.php')):
        include_once(Id.'.php'); //Specific Functions
    else:
        echo ("A fatal error has occured.");
        die();
    endif;

or

$dbconn = mysql_connect($host, $username, $password) or die ('Could not connect: ' . mysql_error());

Where "A fatal error has occured" or 'Could not connect:' would I need x10's advertising?
 

Brandon

Former Senior Account Rep
Community Support
Messages
19,181
Reaction score
28
Points
48
Yes..just put the code at the top or something and instead of doing that directly put a error page in...and the have it request from the query string the error.
 

Thequestion

New Member
Messages
26
Reaction score
0
Points
0
Groovy. Thank You. I don't want to lose my hosting so I'll have to do a global error function.
 

mgw854

New Member
Messages
36
Reaction score
0
Points
0
I just have a webbot include function on all of my pages that conform to my homepage to display the same ad, ©, and the other stuff. My forum and blog don't have the ad include, just because of how they are set up, instead the code is just pasted into them.
 
Status
Not open for further replies.
Top