|
Posted by Adam on 09/13/06 07:43
On Tue, 12 Sep 2006 13:36:40 GMT, Serious_Practitioner wrote:
>Please be gentle - I'm new...
>
>I want to create a form for use with a PHP routine. I have been using
>FrontPage 2003 and I discovered that, if I use the FP Form Wizard utility, I
>get a lot of code that does not seem necessary or suitable for use with PHP.
>
>So my question is - can I simply create text boxes for input, name them and
>then go on to use those names in the PHP routine? Any warnings or
>suggestions about this?
I think the best tip is to *never use wizards* ... anywhere! You'll
never learn a thing if you do. No pain, no gain ;-)
My experience of both Frontpage and Dreamweaver is that that they can
both produce miles of unnecessary (and often outdated) code - or at
least code that relies heavily on Javascript being enabled.
As to warnings - there are quite a few you need to Google for.
Validating input, cleaning up input (if inserting into a database)
and, lastly, securing your form from being hi-jacked.
What originally used to be a few simple lines of PERL has now grown
into a monster of a script (if you want to be secure, that is).
Adam.
Navigation:
[Reply to this message]
|