I have question on multilanguage websit

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
p0wer111
Forum Newbie
Posts: 1
Joined: Sun Aug 15, 2010 4:38 am

I have question on multilanguage websit

Post by p0wer111 »

Hi, I now doing a project on multi-language website, but I still connot complete the part of time counting down , I using <?php require_once (dirname(dirname(dirname(__FILE__))) . '/common.php'); ?> to distinguish the language user chosed. When I refresh the web page, it works ok, but it only lasts for 1 second, after that change to another language. I think it is because the timer refresh every 1 second, Anyone can help me?
oscardog
Forum Contributor
Posts: 245
Joined: Thu Oct 23, 2008 4:43 pm

Re: I have question on multilanguage websit

Post by oscardog »

Timer?

Why wouldn't you just store it in a $_SESSION or $_COOKIE variable?
Post Reply