[PHP] blob and long blob

2005-07-17 Thread timothy johnson
I am building a database that houses photo, I thought everything was
going fine til I went to upload a file that was bigger then 2MB. I
check my HTML int he form I have it set to 10MB, in php.ini I have it
set to 32MB, and then in mysql I am using a longblob so shouldnt that
handle like 4GB. Anyone have anyone idea, on why files above 2MB arent
working?

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] blob and long blob

2005-07-17 Thread Ben-Nes Yonatan

timothy johnson wrote:

I am building a database that houses photo, I thought everything was
going fine til I went to upload a file that was bigger then 2MB. I
check my HTML int he form I have it set to 10MB, in php.ini I have it
set to 32MB, and then in mysql I am using a longblob so shouldnt that
handle like 4GB. Anyone have anyone idea, on why files above 2MB arent
working?



It passed sometime since I made such a thing but check about: 
ini_set(memory_limit,18M); // here its set to 18MB
and also I know that PostgreSQL got functions which are specific for 
dealing with large objects, maybe MySQL got something similar also.


Cheers,
Ben-Nes Yonatan

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php