On 24/10/2010 0:38, Todd Cuadros wrote: > - User downloads a template PDF document, created by iText, from our > website to the user’s desktop.
OK. > - The PDF contains username/password fields on 1st page, followed by a > predetermined number of blank pages. OK. > - Input values are sent via a SUBMIT button to a remote Linux > server-side PHP script for validation against a MySQL database (both > script and database are already set up). Maybe not OK. It depends. Is the PDF opened in the standalone Adobe Reader, or is it opened in the Adobe Reader browser plug in? The former could be a problem depending on what you want to send back to the client. > - Server checks IP address of the request and if valid, the server > returns a body of pure text, to be inserted into the additional pages of > the user's PDF (about 100 pages) while the PDF is still open. No, no, no... You can add JavaScript code inside a PDF, and if the end user has the full Adobe Acrobat (not just Adobe Reader), you can get a long way, but... your design is all wrong! > So our questions are: The questions are irrelevant, since the design is completely wrong. > We wish to know if this is all possible before embarking into the world > of iText. Thank you for any help! What is wrong in your design? - you can provide a PDF (or an HTML) page with a form to enter credentials (username/password), but what do you need the blank pages for??? It could make sense if you had a blank form that would be filled with FDF or XFDF, but you sound as if you want to add free text. - you need an application server that supports either a Java library or a C# library. (If you want to stick with PHP you need a PHP-Java bridge and that's not very elegant.) - once a user logs in correctly, you can use iText or iTextSharp ON THE SERVER SIDE to create the PDF. You shouldn't create the PDF on the client side. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php