Ok, so here's the deal.
At my company I made a form for sales people to fill out their name, title, address, business contact info, etc. This data then gets compiled to give them an approximation of what their business card will look like.
So, the form gets posted to another .php page which has just the code for generating the PDF, then sending it to the browser. This means the headers were already sent, and this is where my problem comes in.
The user should fill out their info, and submit the form. I need it to not only send the PDF to the browser, but also direct them to another form with a checkbox that says basically, "The information I provided for my business card is correct." They must click that checkbox before they can submit the final version to send to us so we can make them their card.
I believe it's a header issue because after the PDF is sent to the browser, I can't redirect using header("Location🙂 and it seems as though I can't have it POST to the form's page..
Is there a way of having the PDF open and the form with the checkbox gets loaded with the user's form-data so it sends an email to us with their data? I'm lost on how to handle this, please help! Thanks!