RE: [PHP] post without form

From: Date: Wed, 16 Aug 2000 18:16:55 +0000
Subject: RE: [PHP] post without form
Groups: php.general 
Request: Send a blank email to php-general+get-12084@lists.php.net to get a copy of this message
Didn't Jasons solution work for you? Mike -----Original Message----- From: Martin A. Marques [mailto:martin@math.unl.edu.ar] Sent: Wednesday, August 16, 2000 1:59 PM To: Steven Werby Cc: php-general@lists.php.net Subject: Re: [PHP] post without form 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 ----------------------------------------------------------------- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#12084) next »