I've been testing multipart forms (where i mix file inputs with standard form inputs) and i cannot make them work properly.
The test was very simple: Submit a multipart form with a text and a file inputs to a php script with, just, the phpinfo(); call.
It happens that sometimes phpinfo reflects the fact that i'm submitting data (HTTP_POST_VARS and HTTP_POST_FILES filled) and sometimes doesn't.
More Info:
- php.ini has the correct values (file_uploads=On; upload_max_filesize = 2M) cause i've never tried and upload bigger then 300k.
- I'm prepending a modified version of the standard prepend.php from PHPLIB, so i'm sending the session id trough cookies or, sometimes url rewriting. In both cases phpinfo reflects that fact.
- I've changed the environment from NT4.0 SP6a to Win2000 Sever SP1. From IBM HTTP Server (based on Apache 1.3.12) to Apache 1.3.19, and to IIS4.0 and IIS5.0 and from PHP 4.02 to PHP4.04 PL1 with or without Zend Optimizer, as ISAPI filter or as CGI. But i always get the same: Sometimes works, sometimes doesn't.
I don't know why it is happening (first i thought it was the line, but it happens even trough the local loop).
Anybody can help me? Has this happen to anybosy else?
Thanks in advance.
Xarli.
I