Re: post without form
| From: | Martin A. Marques | Date: | Wed, 16 Aug 2000 17:59:05 +0000 |
| Subject: | Re: post without form | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-12083@lists.php.net to get a copy of this message | ||
On Wed, 16 Aug 2000, Steven Werby wrote:
> 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\"";
Sorry for the information that I didn't add. I don't want the variables
to appear in the URL. I want it to be passed like if it was a form with
method=post. Is this posible?
"And I'm happy, because you make me feel good, about me." - Melvin Udall
-----------------------------------------------------------------
Martín Marqués email: martin@math.unl.edu.ar
Santa Fe - Argentina http://math.unl.edu.ar/~martin/
Administrador de sistemas en math.unl.edu.ar
-----------------------------------------------------------------