Oops- I get it now, you're trying to access the HTTP_POST_FILES variable from within the function -- sorry, I missed that the first time around and figured you were trying to test it when it wasn't there. global $HTTP_POST_FILES; is the quickest route. Allie Micka pajunas interactive, inc. http://pajunas.com