Re: post without form
| From: | Steven Werby | Date: | Wed, 16 Aug 2000 14:08:23 +0000 |
| Subject: | Re: post without form | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-12007@lists.php.net to get a copy of this message | ||
Martin A. Marques <martin@math.unl.edu.ar> wrote:
> Is it posible to post certain variables without using a form?
> I need a Location to send with it some variables, but don't know how to do
> it. Is it posible?
Sure.
$var1 = "15";
$var2 = "widgets";
$url = "http://host.domain.tld/dir/file.php?var1=\"$var1\"&var2=\"$var2\"";
header ("Location: $url");
--
Steven Werby {steven-lists@befriend.com}
President, Befriend Internet Services LLC
http://www.befriend.com/ 804-355-WEBS