Re: Uploading a file

From: Date: Fri, 25 Jan 2002 15:06:37 +0000
Subject: Re: Uploading a file
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-82102@lists.php.net to get a copy of this message
On Friday 25 January 2002 22:08, Todd Cary wrote: > Jason - > > Using the recommended HTML, everything works *except* the file does not > become part of the data sent back to the server. In fact, the VALUE > from the INPUT element is not received (e.g. $filename== > $HTTP_POST_VARS[filename];). I am using RH Linux 7.2 with Apache. Is > there a parameter in the Apache that needs to be set for file uploads? > If in doubt please check the manual. The uploaded file info are found in $HTTP_POST_FILES not $HTTP_POST_VARS. If you're using php-4.1.0 or above please check manual as $HTTP_POST_FILES will be deprecated in the near future. -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk /* Dying is easy. Comedy is difficult. -- Actor Edmond Gween, on his deathbed. */

« previous php.general (#82102) next »