Hi Howard,
I really appreciate your input.
This is what I send at the end of the successful run of the PHP script
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Upload PDF</title>
</head>
<body>
<div id="showmsgmain">
<table width="57%" align="center" style="border:1px solid #e5e5e5">
<tr>
<td height="25" bgcolor="#e5e5e5"> Information
uploaded</td>
</tr>
<tr>
<td height="122">
<ul style="color:#0066CC;">
<?php echo $message;?><br>
</ul>
</td>
</tr>
</table>
</div>
</body>
</html>
How would I turn this response from a HTML responce to a PDF response?
Thanks
On Oct 28, 8:26 pm, "Howard@Avoka" <
htreis...@gmail.com> wrote:
> A couple of things:
> 1. You cannot submit PDF from Reader. (Whether inside a browser or
> standalone.) You can only submit XML. If you try to submit PDF, it
> will work in Acrobat, but fail silently in Reader.
> 2. You may be experiencing proxy problems. Do you have a proxy server
> between you and the web site?
> 3. If you're running inside a Web browser, you can return any valid
> mime type from your PHP script, because it's interpretted by the
> browser. If you're running inside Reader, you MUST return a PDF file -
> that's the only thing that Reader knows how to display. This could be
> a static 1 pager saying "Thanks!". The timeout issue could be a
> misleading error message.
> Howardhttp://
www.avoka.com
>
> On Oct 29, 8:06 am,kpenner<
i...@wildernessedge.com> wrote:
>
>
>
> > I have a PDF that I created in Livecycle Designer ES 8.2. Work great.
>
> > Once the user of the PDF is finished they submit the PDF document to
> > my webserver via HTTP submit button. I have a PHP script on my
> > webserver that accepts the PDF being uploaded to it.
>
> > If you download the PDF from my website, and have the PDF displayed
> > inside the browser window, and hit the submit pdf button, it works
> > PERFECT.
>
> > If you open the exact same PDF with Adobe Reader 8 or Adobe Reader 9,
> > it uploads the PDF file, and then gives me a time-out error - Nothing
> > done - box with Adobe 9 or with Adobe Reader 8 is gives an error that
> > it has not recieved the expect html/text - and timed out error.
>
> > It appears when you run the PDF from Acrobat Reader instead of inside
> > a web browser, when you send data, it uses a different transfer system
> > to send files over the internet.
>
> > Can anyone give me some insight as to what responce the Adobe Reader 8
> > or 9 wants from my upload script so I don't get an error box?
>
> > Thanks- Hide quoted text -
>
> - Show quoted text -