Important Notice:
Two sections of this forum are available only to registered customers. In order to receive access to the Customer Forums and ResellerCentral Forums, you must first register on these forums or login to your existing forum account. If you are an existing HostNine customer, be sure to register using the email address on file for your billing profile.
|
|||||||
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I am having a proble using an file upload script that worked perfectly on my former host site.
The listings directory has been CMOD 777 The part of the script producing the error is; @copy($_FILES['img']['name'][$i], "$FileSave0") or $log .= "Couldn't copy image ".$_FILES['img']['name'][$i]." to ".$FileSave0." on server "; The error message I get (where mysite has been substituted for the actual site). Quote:
Any help would be appreciated....... Thanks :? |
|
#2
|
|||
|
|||
|
I always use move_uploaded_file myself.
Try dropping the @ and see what error it produces. My guess is probably the source path is wrong or not being carried over properly. If you aren't using move_uploaded_file before that copy command then they file exists in temp only. Try using ['tmp_name'] instead of ['name'] |
|
#3
|
|||
|
|||
|
yes, i always use move_uploaded_file too.
Try check your folder permission. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Looking for a script | zanass | Web Development | 1 | 06-01-2009 04:54 AM |
| can not upload file more than 200KB | medinipur | Shared Web Hosting | 0 | 04-19-2009 12:06 PM |
| Email to Script | mcentral | Reseller Hosting | 1 | 01-29-2007 09:23 AM |




Linear Mode

