First of all, take a look at http://docs.php.net/manual/en/features.file-upload.php You are trying to open a named file (attachment.zip), but that may not be what was uploaded. The 2 main functions to get to grips with are ... is_uploaded_file() and move_uploaded_file(). Uploaded files are not best directly accessed. Instead they should be moved from the temp directory (assuming the server is set to temporarily store uploaded files there) to a proper location for use later on in the script. -- ----- Richard Quadling "Standing on the shoulders of some very clever giants!" EE : http://www.experts-exchange.com/M_248814.html EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 ZOPA : http://uk.zopa.com/member/RQuadling -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php