pdf files

4 replies
Anonymous

Does formmail.php work with pdf files?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 01/20/2003
User offline. Last seen 33 weeks 2 days ago.

What do you mean?

Anonymous

The original formmail.pl by Matt Wright would process pdf files. I'm hoping that PHPformmail will too. The only problem I have is how to call the script from a pdf file. I'm getting this error msg. I know what it wants I just don't know if php will work with pdf and if it does how do I fix this.

Error Msg

Nothing was sent by a form. (No data was sent by POST or GET method.) There is nothing to process.

Joined: 06/04/2007
User offline. Last seen 10 hours 47 min ago.

Are you refering to using a PDF file to house a form and then have that form post to PHPFormMail in order for the results to be mailed to you?

If this is so, it should work, as long has the PDF form sends proper HTTP 1.0 or 1.1 headers.

-Andrew Riley

Joined: 04/26/2008
User offline. Last seen 36 weeks 5 days ago.

I am also getting the No data sent from GET or POST.

I have double checked my settings, as this works with an html form ok. Is there anyone who can tell me the submit button details in their pdf form? I have the action set to the formmail.php.

Thanks

User login