I must write a file upload script in php with a progress bar. Thus to display progress bar i need to know how much of file has been uploaded. To find that I need perl script because in php it is almost imposible. Does anybody knows how to do that in perl? It may be in php but should not demand extra functionality beyond ordinary hosters propose.