On 15 Apr 2006, at 12:51, Alain Roger wrote:
but i do not want to add some variable at the end of link...
when user click on the flag, it should first store language into a
$_SESSION
variable and after redirect/refresh page.
Not possible. Web pages don't work like that.
You need the flags to link somewhere, and only then can it store the
details in the session. So either each flag links to its own PHP
script (pointless), or you follow the advice of Chris and handle it
that way. However you look at it though, you've got to pass a
language somehow. Either via the query string, or by calling a unique
script that handles that language only.
Cheers,
Rich
--
http://www.corephp.co.uk
Zend Certified Engineer
PHP Development Services
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php