From:             [EMAIL PROTECTED]
Operating system: SuSE Linux 7.0
PHP version:      4.0.3pl1
PHP Bug Type:     Filesystem function related
Bug description:  /tmp/php?????? file created without reference in POST array

Example HTML file upload form:
<FORM ENCTYPE="multipart/form-data" ACTION="./phpscript.php" METHOD=POST>
<INPUT NAME="myfile" TYPE="file">
<INPUT TYPE="submit">

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'


Edit Bug report at:

PHP Development Mailing List <>
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