Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
7 - 6 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     

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

Who's Online

444 user(s) are online (399 user(s) are browsing Support Forums)


Members: 0


Guests: 444


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits