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
*/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php