Page 1 of 1

Image Uploading

Posted: Thu Jan 11, 2007 6:20 am
by iknownothing
Hey guys,
I'm just wondering if their are any "stock" parameters for image upload eg. max 1mb, max 1000 x 1000 size, no parameters have been set, yet some images wont upload.

Re: Image Uploading

Posted: Thu Jan 11, 2007 6:25 am
by .Stealth
iknownothing wrote:Hey guys,
I'm just wondering if their are any "stock" parameters for image upload eg. max 1mb, max 1000 x 1000 size, no parameters have been set, yet some images wont upload.
not sure if theres a max dimension.
but if your on a shared server, there can be restrictions to how much can be uploaded at once.
if you have your own server then you can change the max upload in the php.ini file

Posted: Thu Jan 11, 2007 10:17 am
by feyd
Limiting the byte size is no real problem, but it's not possible to limit the pixel dimensions prior to your script being run.

http://php.net/features.file-upload

Posted: Thu Jan 11, 2007 11:23 am
by Kieran Huggins
In my experience the default max upload filesize is 8M on most shared servers, while it's only 2M by default in a fresh php.ini