PHP Form Tips
Menu Debugging PHP
 

Tips on how to debug PHP forms

When degugging PHP forms there are many tools you can use to make sure that they are working the way that you want.

The fact is that debugging PHP forms is pretty much a trial-and-error process.

Just because a form is successful in submitting form entries when a "Submit" button is pressed it is not guarantee that the desire purpose is fulfilled. The key here is to test test test!

Even if the required data is collected and the action that you wanted was gathered, as in the case of a "feedback form" there may still be errors or warnings generated by your webserver.

The process:

This is an iterative process and it is unlikely that a script will perform in a manner that you require or expext. As such, if you are monitoring the accesses to your server you will probably want to use a "sand-box". Alternatively, you can upload pages without tracking and tell web robots not to index these test scripts/pages.

  • Create original form - get a form that works in a basic manner - you cannot proceed unless the basic form does something.
  • Test and adjust

PHP scripts and pages that contain PHP have to be tested on a server that supports PHP.

Top

Form Validation

A major feature in form design is getting the appropriate validation of the entered data.

Hardening

Protecting your forms from hacking cannot be over-looked.

Security

If the data you are sending and receiving from the server secure? Get and Post Transactions, SSL.

Links

External Links Disabled.

tempusfugit.me.uk is a non-commercial website. No payment or benefit is gained by the placement of links toother websites.

The External link is disabled to on this page, please visit other pages

Unlike most genealogical research websites tempusfugit.me.uk does not attempt to get you to "sign-up" when you click on one of their links.

This Wikipedia link is disabled.

The link on Wikipedia was to:

External Links Disabled.

tempusfugit.me.uk is a non-commercial website. No payment or benefit is gained by the placement of links to other websites.

The External link is disabled to on this page, please visit other pages

Top
Top

Site design by Tempusfugit Web Design -