Passing form data along with a redirect

Discussion in 'HTML' started by aomighty@gmail.com, Jul 10, 2006.

  1. Guest

    I am trying to get an HTML page to pass data in a hidden form along
    with a redirect. The problem I am having is it seems that in order to
    pass the form data, there must always be a submit button. I am
    wondering if there is any way to pass the form data along with the
    redirect so that the variable "var" in the below example will be
    available to PHP or whatever else can handle POST data.

    <meta HTTP-EQUIV="refresh" content=0;url="test.php">

    <form action="redirect.php" method="post">
    <input type="hidden" name="var" value="IT WORKED!" />
    </form>

    Thanks all.
    , Jul 10, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    1
    Views:
    1,086
  2. natzol
    Replies:
    0
    Views:
    490
    natzol
    Dec 1, 2006
  3. Sal
    Replies:
    1
    Views:
    409
  4. Alex Maghen

    Passing "Style" along to constituent controls

    Alex Maghen, May 30, 2006, in forum: ASP .Net Web Controls
    Replies:
    9
    Views:
    221
    Walter Wang [MSFT]
    Jun 1, 2006
  5. Tim Chase
    Replies:
    2
    Views:
    200
    Miki Tebeka
    Dec 2, 2011
Loading...

Share This Page