Hi guys;
im relatively new to all this sort of stuff, and can put little things together but was hoping you could help me out with something.
Im needing to make a form with around 5 text fields, whereby the user can enter text and the data is encrypted and sent to a database on the server. I'm hoping for a solution whereby the communication between the website and server is secure and the data cannot be hacked in anyway. Any ideas?
I know of the mysql escape string but as far as i know that's not what I'm after. Could somebody please help me.
thanks in advance,
Scud
Secure Form
Moderator: General Moderators
-
marty pain
- Forum Contributor
- Posts: 105
- Joined: Thu Jun 11, 2009 5:32 am
- Location: Essex
Re: Secure Form
This is more of a web question than a PHP question. The standard way of encrypting data is to use HTTPS instead of HTTP. To do this you will need to get a certificate for the given URL/IP address for the server you are sending data too.
more info here -> http://en.wikipedia.org/wiki/Https
Search Google for "setting up HTTPS", should get you started. Hope that helps mate.
more info here -> http://en.wikipedia.org/wiki/Https
Search Google for "setting up HTTPS", should get you started. Hope that helps mate.
- kaisellgren
- DevNet Resident
- Posts: 1675
- Joined: Sat Jan 07, 2006 5:52 am
- Location: Lahti, Finland.
Re: Secure Form
As already said, you need HTTPS for encrypting the data between the server and the clients. Implementation wise, you barely need to do anything with PHP. Make sure all pages and elements are loaded in HTTPS and then just read some data and save it to a database.