Jump to content

Form Handling-Exporting Data


Arachian

Recommended Posts

I have never used PHP before. I am working on a project for a buddy of mine who runs a small business. His site needs a "Registration" page so that if someone wants to take his class, they register on the website and pay a deposit via paypal. He then wants the information from the form exported to a spreadsheet and he wants to have a complimentary email sent to the student saying they have been successfully registered for the class. I was told PHP was the way to go for the server-side handling of the form data. I know this is such a newbie question, but I have no idea where to start. I would greatly appreciate it if someone more experienced in the subject-matter could point me in the right direction! All I know is that I need to download mySQL, Apache web server, and PHP. Am I correct in that statement? If so, what's next? Thanks!

Link to comment
Share on other sites

There are a couple of other subjects that you really need to study as well, if you're going to be working with financial data. Security is a huge field, and extremely important, in programming. There are also quite a few laws and regulations that enters the field, once we're start to talk about financial data.

 

The subjects which you need to study, as a minimum, are:

  • Input validation.
  • Output escaping.
  • Encryption.
  • SSL.
  • Client side vs. server side information.
  • Session security.

 

Also, remember: Never trust the client. Whatever information you get from the client can, and will, be manipulated in order to break your system.

Sounds easy, but client-side information can be found in some quite unexpected locations. Such as in $_SERVER['PHP_SELF'], $_SERVER['REMOTE_ADDR'], and so forth.

Edited by Christian F.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.