[PHP] Re: PHP and cookies and/or headers

2001-02-16 Thread Angela
When they click on the tab to change languages, you could have that go back to a page on the main site, reset the cookie, and then send it on to the site you want it to go to. -Angela Jeremy Gillies wrote: > > angela, > > this would work if people did not switch back and forth between langauge

[PHP] RE: PHP and cookies and/or headers

2001-02-16 Thread Jeremy Gillies
angela, this would work if people did not switch back and forth between langauges. We have many bilingual users who want print copies, for example, in french and english. Each time they click a little tab at the top, it will switch languages and sites too, BUT will remain with the corresponding t

[PHP] Re: PHP and cookies and/or headers

2001-02-16 Thread Angela
After reading through the setcookie page on php.net, I found out that for some reason it won't let you redirect to a different site after setting the cookie. So, as a fix, change the headers on the setcookie.php page to redirect to the index page, and let the index page take care of the redirec

[PHP] Re: PHP and cookies and/or headers

2001-02-16 Thread Angela
On your splash page, instead of having it send the user directly to either the english or french site, first have it send to another page on that domain along with a variable to tell it whether it's english or french. For example, the English button would be linked to "setcookie.php?Language=En