ID: 9144
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Closed
Bug Type: Filesystem function related
Assigned To: 
Comments:

The files are of 0 bytes long and are deleted after script finishes by PHP itself.
The cleaning should work in 4.0.4pl1 so please upgrade.

--Jani


Previous Comments:
---------------------------------------------------------------------------

[2001-02-07 06:29:01] [EMAIL PROTECTED]
Example HTML file upload form:
<FORM ENCTYPE="multipart/form-data" ACTION="./phpscript.php" METHOD=POST>
<INPUT NAME="myfile" TYPE="file">
<INPUT TYPE="submit">
</FORM>

If a user puts a false reference to a file in that filebox and then clicks the submit 
button, a "/tmp/php??????" temp file is actually created. But, the reference to that 
temp file in the HTTP_POST_FILES["myfile"]["tmp_name"] says "none". This means you 
cannot unlink() these files normally.

Configure line: './configure' '--with-apxs' '--with-pgsql=/var/lib/pgsql' 
'--enable-track-vars' '--with-ftp' '--enable-trans-sid'

regards,
David

---------------------------------------------------------------------------



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9144&edit=2


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to