opening pdf file in new window with a POST operation
| From: | Pete James | Date: | Wed, 03 Jul 2002 23:17:58 +0000 |
| Subject: | opening pdf file in new window with a POST operation | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-105327@lists.php.net to get a copy of this message | ||
This is a strange one...
<h1>test</h1>
<form action="https://my.server/reports.php"
method="post"
target="_blank">
<input type=text value='1' name=pdf_client_num>
<input type=text value='q1_2002' name=pdf_time_period>
<input type=text value='reports' name=task>
<input type=text value='pdf' name=report_type>
<input type=text value='admin' name=u>
<input type=submit value='Show PDF'>
</form>
<form action="https://my.server/reports.php"
method="get"
target="_blank">
<input type=text value='1' name=pdf_client_num>
<input type=text value='q1_2002' name=pdf_time_period>
<input type=text value='reports' name=task>
<input type=text value='pdf' name=report_type>
<input type=text value='admin' name=u>
<input type=submit value='Show PDF'>
</form>
These forms are identical with the exception of the post/get methods.
A PDF file is being dynamically generated and displayed in a pop-up.
The GET method form works fine, while the POST method (which is what I
need to use) pops up a message about the page containing both secure and
nonsecure data.
WTF?
Any help out there?
Thanks in advance,
Pete.