Re: Preview button to show PDF without submitting post data?

From: Date: Sat, 07 Nov 2009 05:59:35 +0000
Subject: Re: Preview button to show PDF without submitting post data?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-299692@lists.php.net to get a copy of this message
Fernando, Thank you for responding. > You could just open in a new window a php script that generates the "preview" pdf > with a content-type header for pdf. Yes, but how would the form data be carried over to the new window? The thing is that I have all this form data that the user has entered, and before they submit it to be stored in the database, they want to see it in a PDF file. If I just point the link to a new script that generates the PDF, won't the form data be lost? Or is can I attach Post data to the new window? -- Dave M G

« previous php.general (#299692) next »