function redirect to host {
varhost=;
= ""+host;
varerrormsgdata = {
"400": "A syntax error occurred in the request",
"401": "No Access Permission",
"403": "The server refuses to execute the request",
"404": "The specified page does not exist",
"405": "The request method is not applicable to the specified resource",
"406": "The client cannot accept the corresponding data",
"408": "The server timed out while waiting for the request",
"409": "The request conflicts with the state of the current resource, so the request cannot be completed",
"410": "The requested resource no longer exists, and there is no forwarding address",
"500": "The server encountered an unexpected condition while trying to fulfill the request",
"501": "The server does not have the capabilities required to perform the request",
"502":"The gateway or proxy server received an invalid response from the upstream server",
"503": "The server is temporarily unable to process the request",
"504":"The gateway or proxy server timed out while waiting for the upstream server to respond",
"505": "The server does not support the http version used in the request",
"1": "Unable to resolve the dns address of the server",
"2": "Connection failed",
"-7": "Operation timed out",
"-100": "The server closed the connection unexpectedly",
"-101": "Connection reset",
"-102": "The server refused the connection",
"-104": "Unable to connect to server",
"-105": "Unable to resolve the dns address of the server",
"-109": "The server cannot be accessed",
"-138": "Unable to access the network",
"-130": "Proxy server connection failed",
"-106": "The Internet connection has been interrupted",
"-401": "An error occurred while reading data from the cache",
"-400":"The requested entry was not found in the cache",
"-331": "The network has been suspended",
"-6": "The file or directory cannot be found",
"-310": "Too many redirects",
"-324":"The server has disconnected without sending any data",
"-346": "Duplicate header received from server",
"-349":"Duplicate header received from server",
"-350": "Duplicate header received from server",
"-118":"Connection timed out"
};
varecode=("ecode")nerhtml;
varedata[ecode];
=emsg;
("eml=emsg;
("eml=ecode+"Error!";
www.novelhall.com, the fastest update of the webnovel!