Hello Couldn’t you do a $_GET or $_POST in
your PHP code to check for idLang and if nothing was specified, default the variable
to 1? For example: switch
($_SERVER['REQUEST_METHOD']) { case
"GET": $idLang =
$_GET['idLang']; break; case
"POST": $idLang =
$_POST['idLang']; } if ($idLang ==””)
{ $idLang=1; } ... As you’re using the _javascript_ “Window.Location”
it is going to change the URL in the address bar. I would add the PHP code above into
Index2.php and set that as your DirectoryIndex page. Hope this helps J Richard From: Andrew Hole
[mailto:andremailinglist@xxxxxxxxx] Hi guys! ********************************************************************** Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you must not copy, distribute or take any action in reliance to it. In such case, you should destroy this message and kindly notify the sender by reply email. Please advise immediately if you or your employer do not consent to Internet email for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of Minorplanet Systems plc shall be understood as neither given nor endorsed by it. Minorplanet Systems plc, Registration no: 3372097
Minorplanet Limited, Registration no: 4072786 Greenwich House, 223 North Street, Leeds, LS7 2AA VAT #: 698 1438 86 ********************************************************************** |