> <?php
> Session_start();
> $_SESSION['language'] = "en";
> You can set the session variable to the current get or maintain the original
> passed.

I think you may have misunderstood.  The problem is holding onto the
existing GET variables in the URL while manipulating or adding one of
them... and doing it dynamically no matter what the existing
parameters are.

My partciular problem scenario is this:


I would like the user to be able to switch between two languages via
the $_GET['lang'] var.

As for

> Dear god, why would you butcher php like that?

Your example is just as ugly as mine and in my editor is actually
worse because the SERVER vars aren't highlighted.   Thanks anyways.


PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to