How to make a PHP file parse some data without the need for a user to stay on a page
<p>I'm making a website on which administrators can upload some PDF files. I have some code that converts the uploaded PDF file (given as parameter) to plain text and, with that plain text, I can make some inserts in a database that is used to generate other pages on the website.</p>

<p>I could redirect the administrator that uploaded a file to another page, and on that page I could put the code to parse the file and create the database entries, but that is a slow operation and the administrator would have to stay on that page until the action completes.</p>

<p>Maybe I don't have the best solution, but here's how I thought it should be done: in the upload page, after a file is uploaded, the server should run a file (ex.: parsePDFFile.php) that would take care of parsing the PDF file and updating the database. That way, the administrator could keep browsing the site without being aware that there's some file processing behind the scenes.</p>

<p>The problem is I have no idea where to start or what to search for on Google, so I don't know if doing something like this is even possible or a good solution.</p>
