Reinhart Viane wrote:
I have the folowing problem :
Hosting of my site is at http://www.groep6049.ksjnet.be
<http://www.groep6049.ksjnet.be/>
My domainname is www.ksachiropoelkapelle.be
<http://www.ksachiropoelkapelle.be/>
I have forwarded www.ksachiropoelkapelle.be
<http://www.ksachiropoelkapelle.be/> towards
http://www.groep6049.ksjnet.be/index.php
I use cloaked forwarding (so ksachiropoelkapelle stays in the address bar)
That usually uses frames which means that...
header("Location: http://www.ksachiropoelkapelle.be/index.php");
is wrong because you need to be redirecting to the cloaked domain not
the actual domain. Change this to use $_SERVER['HTTP_HOST'] instead of
www.ksachiropelkapelle.be and everything should be fine.
Or do I have to disable the cloaking?
Domain cloaking is evil for a variety of reasons. You'd be better off
switching to a host that will let you use your domain name.
Incidentally, someone else suggested setting the cookie domain. This
will not work because security restrictions prevent you from setting
cookies on a different primary domain name.
-Stut
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php