Re: Uploading file problem
| From: | 1LT John W. Holmes | Date: | Thu, 06 Mar 2003 19:37:23 +0000 |
| Subject: | Re: Uploading file problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-138504@lists.php.net to get a copy of this message | ||
> 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...