CodeIgniter Forums
[SOLVED] Anyone used Perl w/ PHP for large file uploads? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: [SOLVED] Anyone used Perl w/ PHP for large file uploads? (/showthread.php?tid=2699)



[SOLVED] Anyone used Perl w/ PHP for large file uploads? - El Forum - 08-20-2007

[eluser]the real rlee[/eluser]
Hi guys,

im struggling to get the File/Upload library (and PHP by any means) to upload large files. I was wondering if anybody had tried using Perl for large file loads and had any examples of how i could integrate this into CI.

Cheers!


[SOLVED] Anyone used Perl w/ PHP for large file uploads? - El Forum - 08-20-2007

[eluser]Michael Wales[/eluser]
No, I haven't, but to address your PHP concerns - what is the issue? There is a filesize setting in php.ini that can be altered to allow files of any size you want. I believe the CI framework has a limitation configuration as well you could alter (only as high as the php.ini setting will allow).


[SOLVED] Anyone used Perl w/ PHP for large file uploads? - El Forum - 08-20-2007

[eluser]the real rlee[/eluser]
Hi Walesmd,

yes its the PHP ini settings that have been giving me a headache. For some reason no matter what settings I adjust via htaccess i cant upload anything above 1M. Here's what I have in my htaccess:

Code:
php_value max_execution_time 1200
php_value post_max_size 64M
php_value upload_max_filesize 32M
php_value memory_limit 64M

php_info() is showing my new settings but its like as if the server is ignoring them

Any thoughts?


[SOLVED] Anyone used Perl w/ PHP for large file uploads? - El Forum - 08-20-2007

[eluser]Michael Wales[/eluser]
Update it directly in php.ini.


[SOLVED] Anyone used Perl w/ PHP for large file uploads? - El Forum - 08-20-2007

[eluser]the real rlee[/eluser]
I have no access to php.ini because im on a shared host


[SOLVED] Anyone used Perl w/ PHP for large file uploads? - El Forum - 08-20-2007

[eluser]Michael Wales[/eluser]
switch hosts?

I really don't know of any other option - you are limited by php.ini and there's nothing you can do about it other than change that value.


[SOLVED] Anyone used Perl w/ PHP for large file uploads? - El Forum - 08-20-2007

[eluser]the real rlee[/eluser]
Hmmm i dont have the option to swicth hosts unfortunately. they've been trying to diagnose the issue w/ me to no avail so far... The crazy thing is htaccess does actaully override those settings as it should


[SOLVED] Anyone used Perl w/ PHP for large file uploads? - El Forum - 08-20-2007

[eluser]sikkle[/eluser]
what is the message received when the system refuse the file ?


[SOLVED] Anyone used Perl w/ PHP for large file uploads? - El Forum - 08-21-2007

[eluser]the real rlee[/eluser]
there's no message and from what i can see there's nothing in the logs either... the browser just bombs out


[SOLVED] Anyone used Perl w/ PHP for large file uploads? - El Forum - 08-21-2007

[eluser]deviant[/eluser]
Edit: nm, talking a load of bollocks Tongue