[DC LoCo] [Lugstuff] PHP Web Form

William Scrivens wscrivens123 at gmail.com
Sun Jul 10 21:39:07 UTC 2011


Thomas, Jeremy & Eric ... All

Thanks for the good info.  I will be passing this on.

Bill

On Sat, Jul 9, 2011 at 8:38 PM, Thomas Gallen <kaori.hinata at gmail.com>wrote:

> Correct me if I'm wrong, but from your e-mail, it sounds like your
> submission handler is playing double duty as the PDF generator. Rolling
> all of the functionality into the submission handler will only come back
> to bite you in the end so I'd suggest you first separate the submission
> handler from the PDF generator. This would require that form data be
> stored (even temporarily) in a database or some other form of storage
> on the server side. The page that generates the PDF would then pull from
> this database to generate output.
>
> The submission handler would only have to insert data into a database so
> writing some solid code to do this and only this would be pretty easy.
> As a result, no amount of bugs in the PDF handler would interrupt your
> clients ability to submit proposal requests. Likewise, if the submission
> handler decided to die some day, you would still have access to previous
> submissions (provided they're in the database). How you choose to secure
> the PDF generator page is up to you but I have some simple examples if
> you want them.
>
> As far as the form design itself goes, don't try too hard to make it
> look exactly like the PDF or you'll just be wasting precious time that
> could have been used for code review.
>
> Thomas
>
> On Fri, Jul 08, 2011 at 09:08:16AM -0400, William Scrivens wrote:
> > All,
> >
> > My company's PHP scripted Proposal Request form blew-up yesterday.  It
> has
> > been working for several years, but yesterday morning ... no good, error
> > messages, multiple submissions, unhappy clients calling, etc.  Suspect a
> > version upgrade by the hosting site.  The form is a very interactive
> check
> > box and filling the blank, and email is a submitted single page PDF, like
> > the attached file.  This is not the first time we have had problems with
> > this complex PHP scripted approach.
> >
> > Put up a temporary "Out of Service" page-up with the attachment PDF
> > downloadable form to keep our clients happy and proposals coming in.
> >
> > Looking for a KISS (keep it simple and stupid) answer that's more
> reliable
> > and easier to modify and change.  A simple fill in the blank overlay on a
> > PDF file is my immediate thought.
> >
> > Any suggestions?
> >
> > Thanks,
> > Bill
>
>
> > _______________________________________________
> > Lugstuff mailing list
> > Lugstuff at annapolislinux.org
> > http://list.annapolislinux.org/cgi-bin/mailman/listinfo/lugstuff
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-us-dc/attachments/20110710/d69e45ee/attachment.html>


More information about the Ubuntu-us-dc mailing list