Jump to content

Archived

This topic is now archived and is closed to further replies.

nassar

uploading big files with PHP

Recommended Posts

Hi 2 all, Frankly i need help from experts in phpfreaks.
Now working on File uploading scripts... you know when i start uploading i face problem  related to the size of files that it is begger than 2 MB.

i googled internet i see that i can change the php ini file settings to accept morte than 2 MB  but i still face problem that uploading process not completed.

So is there anoy one can help me to solve this problem? or even if any can guid me the ready script to see the process file, how they manipulate the big files uploading matter.

i hope i explain the matter good. wait to read your posts.

Thanks in advance.
Nassar

Share this post


Link to post
Share on other sites
I think the best option, though not always the most liked is to use a CGI script (Perl/Python etc.) which can usually upload over 100MB, and by using one with a status it's alot more user friendly than watching a page do nothing for a few minutes.

Share this post


Link to post
Share on other sites
I'm pretty sure you can change the maximum upload size in php.ini. It think it's set to like 8MB default.

Share this post


Link to post
Share on other sites
What i did to fix the upload_max_filesize is using .htaccess    look it up on google... don't forget to set the maxprocess time too...and there's another one too...hold on let me think :P .... max_execution_time max_input_time post_max_size upload_max_filesize

Share this post


Link to post
Share on other sites
thx 2 all.
i find this online
=====
Using a fresh install of PHP, it's always a problem for newbies specially if they're working offline there is a need to deal with big files. And if I start working with phpmyadmin I don't prefer to visit mysql console just to run my dump file. So in case you need to tweak your PHP to upload big files there is three parameters to change in php.ini

upload_max_filesize
memory_limit
post_max_size
Why I'm posting this ? because I always change the first one upload_max_filesize and forget to tweak the others. Now I have to remember ...

resource: http://hatem.phpmagazine.net/2005/10/configure_php_to_upload_big_fi.html
======

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.