Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 04:19 pm EDT

Geeklog Forums

filemgmt upload size


tnbt

Anonymous
hi,

is there a variable where I can define the max upload size? when I tried to upload some big files I got a error, small files running very well. strange is, that the error code was "permission or duplicate error". yes, I have permissions on the file and it wasn't not already uploaded. Very Happy

any hints?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Read the FAQ Why can I not upload a file larger than 2Meg (on Blaine's site)
 Quote

Status: offline

toadie1977

Forum User
Newbie
Registered: 11/08/03
Posts: 3
Location:Lake Placid, NY
I'm in the same boat. My hosting service is Ace-Host.net, and they tell me I should make my own php.ini file and place it in the executing scripts directory. They also gave me a link to a typical php.ini file to use: php.ini.

Here's where I need help:
1. Where do I put the file?
2. Which parts do I need to turn on, or do I leave it all like it is right now and just change the max upload size?

Thanks in advance for any help... Anyone using their own php.ini that works, and would want to share it with me, that would be great too...
 Quote

Status: offline

timbro

Forum User
Newbie
Registered: 12/28/05
Posts: 10
Here is the most simple solution

you create a file named .htaccess in notepad

add this line to it

php_value upload_max_filesize 104857600

that would allow 100MB uploads

place this file in the root of your website

if an .htaccess file already exists just add that line to it.
 Quote

Status: offline

DTrumbower

Forum User
Moderator
Registered: 01/08/03
Posts: 507
Quote by toadie1977:

Here's where I need help:
1. Where do I put the file?
2. Which parts do I need to turn on, or do I leave it all like it is right now and just change the max upload size?

Thanks in advance for any help... Anyone using their own php.ini that works, and would want to share it with me, that would be great too...


Just create a text file called php.ini and put the following two lines in it.

upload_max_filesize=100M
post_max_size=200M

Most people forget the post_max_size, the default is 8M.

Put the php.ini file in the filemgmt subdirectory.

That should do it.
 Quote

Status: offline

Cobro

Forum User
Chatty
Registered: 03/17/06
Posts: 57
Location:Iceland
confused
im not getting this to work i just cant upload large file i have set my upload file size to 150 mb but nothing is getting through ?? and i have made all of this php.ini and .htaccsess what could be the problem plz help me.... Were exactly should i then put these php.ini file or the .htaccess ??? in geeklog ?i have moved my public_html to htdocs dose that matter ?? plz help me.i know the deafult size is 16 mb in my php.ini in xampp folder i have change that to 150
but i put the file that was 15.7 mb it got in well but when i was going to download it it just got me the ACCESS FORBIDDEN ? why is that it was .wma maby fliemgmt dose not support that kind of i file ?? so could you plz help me with this this is the only thing im stuck at right now Crying or Very sad Can someone help me Giving it a try
 Quote

All times are EDT. The time is now 04:19 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content