|
Posted by J.O. Aho on 04/21/07 07:08
Danny Boy wrote:
> He didn't mention anything about limits either. But now, when done, the
> script can only upload 4 images at the time and he's claiming that
> that's the limit for the http protocol. IMHO, I think that's a piece of
> info that he ought to have told me beforehand as it's not "real batch"
> at all - at least not in my book. So I have to find some other solution
> somewhere.
The main limit is the following setting in php.ini: upload_max_filesize = 2M
It's not a limit on the amount of files you can select.
There is of course the limit how much memory the php script can use (you set
that in php.ini too), but the images are stored as files on the server and not
loaded into the php script, so this limit will not come in question in your case.
> The questions I have are:
>
> 1. Is that true about 4 file upload limit?
No, the limit is the size of the content you are uploading (in MBs).
> 2. Are there some other way to solve this with php/MySQL that's not too
> complicated?
Depends on how the script you have is written, if it's done properly then you
can just add on new input fields where to select the images to be uploaded.
If the script is badly written, then it may be better just go to freshmeat.net
and search for a good opensource project that does what you need.
> 4. I'm not too happy to pay the guy for this, as I think he should have
> told me from start, or at least at the point when he found out about the
> limit. Am I overreacting here?
Much depends on the contract you wrote, IMHO he didn't deliver the application
you had bought, so I wouldn't really think you are obligated to pay for it
until he delivers you the application you asked for and of course depending on
the fine print of the contract you may not even have to pay the full sum as he
didn't deliver it in time.
--
//Aho
Navigation:
[Reply to this message]
|