RE: [PHP] More on file upload

From: Date: Fri, 04 Jul 2003 16:12:54 +0000
Subject: RE: [PHP] More on file upload
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-154005@lists.php.net to get a copy of this message
Directory permissions are set to 0777 Right now I am just using if ( move_uploaded_file(source,dest)) { echo "file moved"; } else { echo "could not move file"; } } Have not yet been able to figure out how to get a more descriptive error. I know there has to be a better way to get exact message, but just haven't figured it out yet. Mark Roberts, Roberts Computing Systems eCommerce, yeah, we do that! Graphics, Scripting, Databases, shopping carts mailto:mark.roberts@robertscomputing.com -----Original Message----- From: Marek Kilimajer [mailto:kilimajer@webglobe.sk] Sent: Friday, July 04, 2003 10:57 AM To: Webmaster Cc: php-general@lists.php.net Subject: Re: [PHP] More on file upload What is the message now? Is the file being uploaded and move_uploaded_file() does not move the file? Then check the directory permissions. Webmaster wrote: > First of all, thanks to all that have helped so far. > > I am trying to get a file upload script to work using php v4.0.3 (no option > here) > > Everything seems to be working except the move_uploaded_file() function (the > most critical part) > > Anthing else to check? Is there a way to get a more descriptive error msg? > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#154005) next »