#1
|
||
|
UPLOAD Script problem
Hi there.
The problem is that, when I upload the file that is more than 2 MB (doesnt matter what I put on max_file_size=""; $max_combined_size=" " it doesnt upload and gives error : Couldn't copy .... to server, please make sure .../.../ is chmod 777 and the path is correct. However, if I upload the file that is smaller 2 MB it uploads it. And it doesnt give me any errors.! What kind of problem it could be? thanks. |
#3
|
||
|
Your host has set the limit in your php.ini file to 2MB (Which is the default). You'll have to ask them to change that for you.
You may also be able to use this: PHP Code:
__________________
04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq |
#4
|
||
|
hi there
thanks for reply. what should i change in php.ini? i have access to php.ini but I didnt see anything like 2 mb.. |
#5
|
||
|
You need to change your upload_max_filesize
|
#6
|
||
|
Okay, thanks for the help.
Where is the first occurance that you where talking about scott? I have no clue where this should be placed. ini_set('upload_max_filesize', '500M'); //=--> 2M = 2 megs. 4M = 4 megs etc. Thanks for the help |
#7
|
||
|
nevermind, I know where to place the line of code, but still no luck.
I have emailed my hosting company. Any other ideas. Thank you |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
upload timeout | Reaon | phphq.Net Forums | 0 | 03-12-2008 07:29 PM |
Upload script | TomBullock | phphq.Net Forums | 2 | 08-02-2007 02:09 PM |
Upload-Yours! | Jeff | Sigs and Graphics | 20 | 08-22-2005 02:57 PM |
free image upload script | Matt | Web design and Programming | 20 | 06-11-2004 09:58 PM |
Sig Upload Script | Matt | Web design and Programming | 4 | 06-27-2003 11:50 AM |