Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Passing form data along with a redirect

Thread Tools

Passing form data along with a redirect
Posts: n/a
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!" />

Thanks all.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Passing along cmd.Cmd completion to contained class Tim Chase Python 2 12-02-2011 03:01 PM
Past form data along with a redirect HTML 1 07-10-2006 09:01 PM
[PlainVoip] Termination Celebration --- JUST PASSING ALONG... Jonathan Roberts VOIP 0 06-10-2006 03:12 AM
Passing "Style" along to constituent controls Alex Maghen ASP .Net Web Controls 9 06-01-2006 05:47 AM
Basic Q - Response.Redirect, all redirect to first Response.Redirect statement Sal ASP .Net Web Controls 1 05-15-2004 03:46 PM