You are here: Re: Upload Progress « All PHP « IT news, forums, messages
Re: Upload Progress

Posted by CyberDog on 10/02/66 11:20

steve wrote:

> not for built-in php file uploads, but...i use 2 div tags having 2 different
> colors. 1 div is always visible the second (which overlapps the 1st)
> moves/progresses left to right as the progress percent increases. you simply
> need a javascript function that you call in php giving the current percent
> completion. the javascript function simply calculates the width of div 2 as
> the percent n of the width of div 1.

Very clever, thanks.


One more question if you don't mind:

My script stores uploaded files on the server (doh) with a random prefix
and then the filename (ex. f58b8dfrrb8bdf8dfh4__file.gif).

The server knows what to look for when donloading the file, but is it
possible to rename the file before offering it to user, not on the
server but just offer the same file under diferent name (file.gif)?

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация