Web Hosting Talk







View Full Version : Form Help!


cfaice
07-15-2005, 05:36 AM
Hi folks,

I would like to create a simple form which will allow people to enter an invoice number, click submit, and then allow them to download or view the invoice (which ever is easiest to code for).

Would either of those options work?

The invoices are in .PDF format, and the file name is the invoice number, and all invoices will be stored in the same folder, .i.e. /invoices !!!

Any help on form creation would be appreciated, as I don’t really know what I am doing!

Regards,
Craig

Jason.NXH
07-15-2005, 10:32 AM
Hey there,

I can't help you a lot here, but I have found two websites that you might be able to look at which may help you.

http://www.zend.com/zend/spotlight/creatingpdfmay1.php
http://sourceforge.net/projects/pc4p/

Take a look at those

Regards,
Jason


--> EDIT: Sorry, this is using PHP as the scripting language

ComputerGen
07-15-2005, 02:51 PM
Have you tried a CMS? Just a thought....

sdnet
07-15-2005, 04:24 PM
First, I would presume that you are protecting this in some way so only the recipient of the invoice will be given authority to access it. One way to do this is to simply provide a link to the .pdf file after the user logs in. A better way to do this, though, would be to convert the PDF file to a web page (so it can be better protected), using one of the utilities previously mentioned.

markjut
07-15-2005, 06:06 PM
You would need a script of some kind to do that. I imagine you are not on a high budget, so getting a custom build script is out of mind. But why not look at all ready made scripts at HotScripts (http://www.hotscripts.com).

EStudios
07-17-2005, 11:51 AM
Even if you are on a small budget, I may be willing to work with you for a cheap cost, because its not that hard to do... so just PM or email me if interested..