Justin French wrote...

> Well, you seem so sure it will work, so give it a go... I can't see how, but
> am totally willing to learn!
> 
> Have you got any info on invisible gets?

It's simple, which is one thing I like about it.  My submit.php looks like
this:

    <?php
    session_start();
    header('Location: ' . $_REQUEST['target']);

    reset ($_REQUEST);
    while (list ($key, $value) = each ($_REQUEST)) {
        switch ($key) {
            case "target":
                break;
            case "PHPSESSID":
                break;
            default:
                $_SESSION[$key] = $value;
                break;
        }
    }

    echo " "; // NN4 requires that we output something...
    exit();
    ?>

Then to send a new value for a variable, I just have link that looks like
<http://www.domain.com/submit.php?variable=3>.

-- Charles Wiltgen


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

Reply via email to