Re: Uploading file problem

From: Date: Thu, 06 Mar 2003 19:48:46 +0000
Subject: Re: Uploading file problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-138509@lists.php.net to get a copy of this message
Thanks!! I'll give that a try! On Thu, 6 Mar 2003, 1LT John W. Holmes wrote: > > Well, I have a statement that says: > > > > if (!@copy($photo, $long_path . "speakers/" . $photo_name)) { > > echo an error > > }else{ > > proceed with renaming the file > > } > > > > The error that is echoed after the copy is the one that pops up. So, it > > could be some other problem, but I'm not sure what to look for. > > Take out the @ sign so you can see what the PHP error message is. > > ---John Holmes... > > >

« previous php.general (#138509) next »