| Re: Domain name related question |
| by nghia on 2006/5/11 14:51:41 Thank you very much for you all. It work nice with: define('XOOPS_URL', "http://{$_SERVER['HTTP_HOST']}"); All the best, Nghia |
| Re: Domain name related question |
| by iHackCode on 2006/5/11 14:32:29 what about/? le="color: #000000"><?php if("http://{$_SERVER['HTTP_HOST']}" == "http://www.ria1.org" || "http://ria1.org") { define('XOOPS_URL', 'http://www.ria1.org'); }elseif("http://{$_SERVER['HTTP_HOST']}" == "http://ria1.mofi.gov.vn" or http://ria1.mofi.gov.vn) { define('XOOPS_URL','http://ria1.mofi.gov.vn'); } or le="color: #000000"><?php define('XOOPS_URL', "http://{$_SERVER['HTTP_HOST']}");
|
| Re: Domain name related question |
| by nghia on 2006/5/11 14:25:46 So, how can I do next???? Please any one can help, Nghia |
| Re: Domain name related question |
| by xuser on 2006/5/11 14:17:41 it seems that the compiled template cause it |
| Re: Domain name related question |
| by nghia on 2006/5/11 14:01:40 No, not like thing I just post. It error again: "Parse error: parse error in D:\hshome\acc257\ria1.org\mainfile.php on line 41" It work because I upload a original mainfile.php. , Nghia
|