n1taz Posted February 12, 2006 Posted February 12, 2006 Hi all, I am trying to get an upload script working. The upload section works perfectly, what doesn't work is the progress meter. The reason seems to be that their is a cache in place which is preventing the file size data being written until the file is completely uploaded (kind of defeats the purpose of a progress meter). Is there a way to turn off this caching from .htaccess or otherwise? I have tried scripts written in both perl and php with the same problem. I can use ajax to get the current size of the temp file but can't get the file size data. Thanks for your help. Steve Quote
TCH-Andy Posted February 12, 2006 Posted February 12, 2006 Hi Steve, welcome to the forums What script are you using? as long as you are checking the size of the temp file, not the final file, it should be fine. Quote
surefire Posted February 12, 2006 Posted February 12, 2006 PHP has shortcomings in this area http://www.raditha.com/php/progress.php Quote
eisc0013 Posted February 13, 2006 Posted February 13, 2006 I've had good luck with PHP Mega Upload at a different host, have not tried it on any of my accounts here at TCH. If you get something working, please let us know. Quote
carbonize Posted February 27, 2006 Posted February 27, 2006 http://www.raditha.com/php/progress.php is a dead link here. Quote
n1taz Posted February 27, 2006 Author Posted February 27, 2006 http://www.raditha.com/php/progress.php is a dead link here. Hi all thanks for your help. the script in question was a perl script called filechucker from encodable.com. The problem was mod_security so to solve the problem I turned this module off for the directory in question. Thanks, Steve Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.