#22107 [Opn->Fbk]: file upload problem
| From: | sniper@php.net | Date: | Sat, 08 Feb 2003 05:18:19 +0000 |
| Subject: | #22107 [Opn->Fbk]: file upload problem | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-32446@lists.php.net to get a copy of this message | ||
ID: 22107
Updated by: sniper@php.net
Reported By: luca.mariano@email.it
-Status: Open
+Status: Feedback
Bug Type: Apache related
Operating System: OpenBSD
PHP Version: 4.3.0
New Comment:
Set to open only when you give the actual feedback.
Previous Comments:
------------------------------------------------------------------------
[2003-02-07 09:20:42] luca.mariano@email.it
Thaks, I'll try soon to re-configure without-inline-optimization.
I cannot provide any link to the real installation because it's in the
LAN of a customer...
------------------------------------------------------------------------
[2003-02-07 08:56:59] sniper@php.net
Try removing this from your configure line:
--enable-inline-optimization
Then 'rm config.cache' and run configure/make etc.
And also check your php.ini and that the correct
one is loaded by php.
Doing a 'diff -u php.ini php.ini-dist' would also help a bit.
------------------------------------------------------------------------
[2003-02-07 07:08:52] andrey@php.net
Could you provide some link to a place where your results can be seen?
------------------------------------------------------------------------
[2003-02-07 07:01:58] luca.mariano@email.it
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 this bug report at http://bugs.php.net/?id=22107&edit=1