Re: Form & POST

From: Date: Mon, 25 Mar 2002 05:20:56 +0000
Subject: Re: Form & POST
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-89979@lists.php.net to get a copy of this message
On Monday 25 March 2002 12:47, Kevin Maynard wrote: > Maybe someone can shed some light on this. I have a form to handle a file > upload, but through the same form I would like to gather data as well. For > example, ID, Price & Picture. > > Now I set up my form to handle the file upload, and that all works great, > but I can't seem to access the other variables. Can I use for form to > collect data and files? [snip] > Now whether I use the $Price alone or $HTTP_POST_VARS['Price'] I get > nothing. If you're using php > 4.0.6 then use $_POST[] instead of $HTTP_POST_VARS[]. -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk /* "Hello," he lied. -- Don Carpenter, quoting a Hollywood agent */

« previous php.general (#89979) next »