Todd Cary wrote:
If I use

  if ($send)
    header("location: mypage.php?message=" . $message);

the data ($message) is passed in the URL. Is there a way to pass the data as though it was a POST method i.e. not in the URL?

probably, but I don't know how off the top of my head.

look into using $_SESSION instead and maybe even consider that you
could save yourself a redirect by doing something _like_:

if ($send) {
        $_POST['message'] = $message;
        include './mypage.php';
        exit;
}

now sticking stuff into $_POST or $_GET probably isn't the best tactic -
if a security guru could comment on that I'd appreciate it also!


Todd


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

Reply via email to