Creating an Upload Progress Bar in PHP with APC