The progressbar is now working on the PHP-page and it saves the time in a txt-file