elentz Posted February 24, 2007 Share Posted February 24, 2007 I know enough about PHP to be dangerous. I have a script that makes a pdf file. Right now when I run the script I get a prompt to download the pdf. The script uses FPDF to generate the pdf. This works fine. At the end of the script it prompts the user to download and save the script. What I would like to do is have a form come up that would give the user the ability to : Print, email or save the pdf. Can someone help me with the code to do this? Thanks alot Quote Link to comment Share on other sites More sharing options...
simcoweb Posted February 24, 2007 Share Posted February 24, 2007 Sounds to me that you just need to add another step in the process that would go between the creation of and the download of the PDF file. Step One: click here to create the PDF file Step Two: PDF file created successfully! Would you like to a) print it, b) download it c) have it emailed to you as an attachment? Step Three: whichever they choose To do this you'd have to have the PDF file created and placed in a folder on your server then provide the links to it to accomplish the tasks. Quote Link to comment Share on other sites More sharing options...
pocobueno1388 Posted February 24, 2007 Share Posted February 24, 2007 I think he is asking <b>how</b> to do those things. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.