#22107 [NEW]: file upload problem
| From: | luca dot mariano at email dot it | Date: | Fri, 07 Feb 2003 13:01:58 +0000 |
| Subject: | #22107 [NEW]: file upload problem | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-32380@lists.php.net to get a copy of this message | ||
From: luca.mariano@email.it
Operating system: OpenBSD
PHP version: 4.3.0
PHP Bug Type: Apache related
Bug description: file upload problem
When calling a php script from a POST form like this:
<form enctype="multipart/form-data" method="post"
action="upload.php">
Send file: <input name="userfile" type="file">
<input type="submit" value="Send File">
</form>
the script upload.php have the $_FILES array empty.
The output of print_r($_FILES) is an empty array ().
HTML form and PHP pages are under https (Apache/1.3.26 (Unix) PHP/4.3.0
mod_ssl/2.8.10 OpenSSL/0.9.7-beta3).
Of course all works fine with a Linux Box (RH 7.2) and with windoz too
(using http).
Configure Options for php:
./configure --with-apxs=/usr/sbin/apxs --enable-ftp
--enable-inline-optimization --with-zlib --disable-cli --disable-cgi
--with-mysql
--
Edit bug report at http://bugs.php.net/?id=22107&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=22107&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=22107&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=22107&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=22107&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=22107&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=22107&r=support
Expected behavior: http://bugs.php.net/fix.php?id=22107&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=22107&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=22107&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=22107&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22107&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=22107&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=22107&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=22107&r=gnused