Click here to Skip to main content
13,005,991 members (87,511 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Recently I had created a web application in Php.But I fearing about is security because it contains payment options and also keeping customer's money.How can make security in php to prevent hackers?

I would like to know about "paypal/moneybooker login "---at the time of login a color change is occured in title bar. It showing it security....
Posted 20-Sep-12 3:14am
ahmed559 20-Sep-12 10:49am
Don't talk about "google"...
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

And one more thing, use PHP PDO for SQL operations rather than using old mysql_* functions.
ahmed559 21-Sep-12 1:15am

Can you explain ?
nK0de 21-Sep-12 1:48am
PDO is a data-access abstraction layer, which means regardless of which database you're using, you use the same functions to issue queries and fetch data. Plus by using PDO, you can execute parameterized SQL queries which would prevent SQL injection attacks. If you haven't written object oriented PHP before, it might be a little confusing to learn PDO at first. But try harder and learn it. Its worth your while. Check this video series for starters.
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

GOOGLE[^] is your friend. Visit him often.
A few simple rules when posting your question.
1) Have you searched or Googled for a solution?
2) Be specific! Don't ask "I need to write a booking application". Specify exactly what it is you need help with.
3) Keep the subject brief but descriptive. eg "How do I change the dialog colour?"
4) Keep the question as concise as possible. If you have to include code, include the smallest snippet of code you can - do not dump your entire codebase.
5) Tag your question appropriately.
6) Your question may be edited or retagged by others. Anything inappropriate will be removed.
7) If you have a school or university assignment, assume that your teacher or lecturer is also reading these forums.
8) Be courteous and DON'T SHOUT. Everyone here helps because they enjoy helping others, not because it's their job.
9) Do not remove or empty a message if others have replied. Keep the thread intact and available for others to search and read.
10) Do not be abusive, offensive, inappropriate,harass anyone on the boards or post ads or spam. Doing so will get you kicked off and banned. Play nice.

I would suggest doing exactly what you are suggesting. Tie into paypal for payments. Don't maintain any customer financial information on your own site because the liability for that is too great. Let the experts at paypal and such deal with that end. I know this is another google link, but there is some really good information on integrating paypal into php systems there. php paypal[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170628.1 | Last Updated 21 Sep 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100