|
Posted by CyberDog on 10/10/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]
|