Thursday 25 September 2008 7:51:19 am
I could upload image, file (.txt), but not .mpg (with classe File). I verified my php.ini :
...
;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;
max_execution_time = 900 ; Maximum execution time of each script, in seconds
max_input_time = 600 ; Maximum amount of time each script may spend parsing request data
memory_limit = 256M ; Maximum amount of memory a script may consume (8MB)
...
; Maximum size of POST data that PHP will accept.
post_max_size = 256M
...
; Maximum allowed size for uploaded files.
upload_max_filesize = 10M
I don't have upload limit in my classe File. I have the unix rights:
drwxrwxr-x 7 www-data www-data 4096 2008-09-24 21:47 var
>ls -l var/
drwxrwxr-x 11 www-data www-data 4096 2008-09-25 01:20 cache
drwxrwxrwx 3 www-data www-data 4096 2008-09-24 22:44 demonstrateur_ez
drwxrwxrwx 5 www-data www-data 4096 2008-09-16 08:22 ezwebin_site
drwxrwxr-x 2 www-data www-data 4096 2008-09-25 02:49 log
drwxrwxr-x 7 www-data www-data 4096 2008-09-16 08:20 storage
>ls -l var/ezwebin_site/
drwxrwxrwx 12 www-data www-data 4096 2008-09-25 02:54 cache
drwxrwxr-x 2 www-data www-data 4096 2008-09-24 16:05 log
drwxrwxrwx 5 www-data www-data 4096 2008-09-16 13:48 storage
I doesn't find my problem best regards
|