class.upload.php is a powerful and mature PHP class to manage uploaded files, and manipulate images in many ways. The script is available under a GPL license.
I've try to upload files but I've got an error: "File too big"
I removing all unnecessary code from my script and do a small debug and got...
warning: trim() expects parameter 1 to be string, array given in /var/www/viper.tests/administrator/components/com_kinoarhiv/libraries/uploads/upload.php on line 1813
Warning: preg_match() expects parameter 2 to be string, array given in /var/www/viper.tests/administrator/components/com_kinoarhiv/libraries/uploads/upload.php on line 1864
Warning: realpath() expects parameter 1 to be string, array given in /var/www/viper.tests/administrator/components/com_kinoarhiv/libraries/uploads/upload.php on line 1909
Warning: finfo_file(): Empty filename or path in /var/www/viper.tests/administrator/components/com_kinoarhiv/libraries/uploads/upload.php on line 1909
Warning: mime_content_type(): Can only process string or stream arguments in /var/www/viper.tests/administrator/components/com_kinoarhiv/libraries/uploads/upload.php on line 1965
Warning: getimagesize() expects parameter 1 to be string, array given in /var/www/viper.tests/administrator/components/com_kinoarhiv/libraries/uploads/upload.php on line 1979 /var/www/viper.tests/downloads/kamelia/movie/e/1/ Warning: trim() expects parameter 1 to be string, array given in /var/www/viper.tests/administrator/components/com_kinoarhiv/libraries/uploads/upload.php on line 1813
Warning: preg_match() expects parameter 2 to be string, array given in /var/www/viper.tests/administrator/components/com_kinoarhiv/libraries/uploads/upload.php on line 1864
Warning: realpath() expects parameter 1 to be string, array given in /var/www/viper.tests/administrator/components/com_kinoarhiv/libraries/uploads/upload.php on line 1909
Warning: finfo_file(): Empty filename or path in /var/www/viper.tests/administrator/components/com_kinoarhiv/libraries/uploads/upload.php on line 1909
Warning: mime_content_type(): Can only process string or stream arguments in /var/www/viper.tests/administrator/components/com_kinoarhiv/libraries/uploads/upload.php on line 1965
Warning: getimagesize() expects parameter 1 to be string, array given in /var/www/viper.tests/administrator/components/com_kinoarhiv/libraries/uploads/upload.php on line 1979 /var/www/viper.tests/downloads/kamelia/movie/e/1/
If I trying to process files as IMAGE UPLOAD from demo script, all working good, but script from demo with MULTI UPLOADS won't work and thrown an errors like above.Reply
"File too big"
I removing all unnecessary code from my script and do a small debug and got...
warning: trim() expects parameter 1 to be string, array given in /var/www/viper.tests/administrator/components/com_kinoarhiv/libraries/uploads/upload.php on line 1813
Warning: preg_match() expects parameter 2 to be string, array given in /var/www/viper.tests/administrator/components/com_kinoarhiv/libraries/uploads/upload.php on line 1864
Warning: realpath() expects parameter 1 to be string, array given in /var/www/viper.tests/administrator/components/com_kinoarhiv/libraries/uploads/upload.php on line 1909
Warning: finfo_file(): Empty filename or path in /var/www/viper.tests/administrator/components/com_kinoarhiv/libraries/uploads/upload.php on line 1909
Warning: mime_content_type(): Can only process string or stream arguments in /var/www/viper.tests/administrator/components/com_kinoarhiv/libraries/uploads/upload.php on line 1965
Warning: getimagesize() expects parameter 1 to be string, array given in /var/www/viper.tests/administrator/components/com_kinoarhiv/libraries/uploads/upload.php on line 1979
/var/www/viper.tests/downloads/kamelia/movie/e/1/
Warning: trim() expects parameter 1 to be string, array given in /var/www/viper.tests/administrator/components/com_kinoarhiv/libraries/uploads/upload.php on line 1813
Warning: preg_match() expects parameter 2 to be string, array given in /var/www/viper.tests/administrator/components/com_kinoarhiv/libraries/uploads/upload.php on line 1864
Warning: realpath() expects parameter 1 to be string, array given in /var/www/viper.tests/administrator/components/com_kinoarhiv/libraries/uploads/upload.php on line 1909
Warning: finfo_file(): Empty filename or path in /var/www/viper.tests/administrator/components/com_kinoarhiv/libraries/uploads/upload.php on line 1909
Warning: mime_content_type(): Can only process string or stream arguments in /var/www/viper.tests/administrator/components/com_kinoarhiv/libraries/uploads/upload.php on line 1965
Warning: getimagesize() expects parameter 1 to be string, array given in /var/www/viper.tests/administrator/components/com_kinoarhiv/libraries/uploads/upload.php on line 1979
/var/www/viper.tests/downloads/kamelia/movie/e/1/
and arrays
If I trying to process files as IMAGE UPLOAD from demo script, all working good, but script from demo with MULTI UPLOADS won't work and thrown an errors like above.