I've got some little problem :
how can I
- wait two seconds in a pop-up window, then close it and refresh the original window ?
- detect the user language ?
And a little question who's driving me mad :
why if ($boolean = true) is not the same that if ($boolean !=false) ?????
never seen that in C or anything else !!!
Thanks for your tips
Axl
Few little problems...
Moderator: General Moderators
Just one more...
Thanks for your help
I've found the solution for the language :
$lang = substr(getenv('HTTP_ACCEPT_LANGUAGE'), 0, 2);
where $lang is a global var (or affected in a conf.inc.php file)
I just need a solution for my last problem :
in a pop-up windows :
- wait 2 seconds
- close the pop-up
- refresh the original window
I've found the solution for the language :
$lang = substr(getenv('HTTP_ACCEPT_LANGUAGE'), 0, 2);
where $lang is a global var (or affected in a conf.inc.php file)
I just need a solution for my last problem :
in a pop-up windows :
- wait 2 seconds
- close the pop-up
- refresh the original window
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
Have a read of this:in a pop-up windows :
- wait 2 seconds
- close the pop-up
- refresh the original window
http://www.devnetwork.net/forums/viewtopic.php?t=1030
PHP is server-side, you need something client-side to do this.
Mac