Re: Sending data using the POST method.

From: Date: Tue, 22 Jul 2003 22:31:49 +0000
Subject: Re: Sending data using the POST method.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-156347@lists.php.net to get a copy of this message
"Guillermo Scharffenorth" <gscharf@cantv.net> wrote in message news:20030722222059.70711.qmail@pb1.pair.com... > Hello, > > I am a beginner programmer and I am trying to do the following: > > I have a commercial script (catalog.php) which accepts variables using the > "POST" method. This script, however, is not designed to handle form fields > other than "textfield". > > I have an intermediate script (translate.php) which > reads variable from a form and creates a query string. > If I wanted to call the original catalog script to process my translate.php > query string using GET I would do "translate.php?<query-string>." However, > because it uses the POST method, I do not know how to send the variables. > > Any ideas? > > Thanks so much, > > Guillermo Scharffenorth > POST and GET are synonymous in PHP thanks to the $_REQUEST array. If you are not concerned about the input method then use $_REQUEST in place of $_GET and $_POST. HTH, Kevin

« previous php.general (#156347) next »