# Launch php script AFTER file upload

**URL:** <https://forum.kirupa.com/t/launch-php-script-after-file-upload/299623>\
**Category:** web dev\
**Created:** [November 8, 2009, 1:39pm UTC](https://forum.kirupa.com/t/launch-php-script-after-file-upload/299623 "2009-11-08T13:39:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![speedy\_rudolf](https://avatars.discourse-cdn.com/v4/letter/s/5daacb/32.png) [@speedy\_rudolf](https://forum.kirupa.com/u/speedy_rudolf)\
**Post date:** [November 8, 2009, 1:39pm UTC](https://forum.kirupa.com/t/launch-php-script-after-file-upload/299623/1 "2009-11-08T13:39:51Z")

</div>

Hi. I’m making a website with multiple file inputs. The problem is submitting the form: if the user selects big files (eg: 3-4mb), when he submits the form, the php script is launched before the files have uploaded completely. How can I launch the script AFTER the file have uploaded (something like onfileupload or something like that)? It can be any language (html, javascript, php). Thank you in advance. Bye.
