Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6985069
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T18:37:55+00:00 2026-05-27T18:37:55+00:00

Well, I finally finished my site (Just learned PHP and MySQL) So I’m wondering

  • 0

Well, I finally finished my site (Just learned PHP and MySQL) So I’m wondering what are some of the most common ways hackers get in and how can I prevent it… I have already been informed of addslashes();, mysql_real_escape_string();, and strip_tags();.
What else can I do? (With explanation please) And what are the best ways to back up my tables and my database? (I use phpMyAdmin if that matters) Thanks so much for all the programming advice so far! I love this site and I love you all!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T18:37:56+00:00Added an answer on May 27, 2026 at 6:37 pm
    • Backup regularly. You can automate this process with some hosting providers. Otherwise, a simple Export from phpMyAdmin should suffice. All tables, all data. Dump to an SQL file, and zip. The hosting providers that offer complete backup will often include all of your other filesystem data too (.php files, anything in your webroot, etc.)

    • Consider using instead PDO. The inherent security provided through prepared statements is much better than essentially rolling your own through a combination of addslashes(), mysql_real_escape_string() and strip_tags(), not to mention it sets you up to support additional database technologies (with less of a transitional period than from the explicit mysql_* API) Transitioning to PDO after you’ve “finally finished your site” may seem fruitless, however the payoff is much larger in the portability and security offered therein.

    Oh yea, and merry [enter holiday of your choosing]!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Well, I've read (and learned) that the finally block doesn't always execute its code
Well, now that I've finally got my stupid ODBC stuff configured, I took a
Well, I have a application which somehow requires some system resources, but how do
Still learning a lot.. But basically finally finished my website, but now I'm failing
Well I hoped everything would work fine finally. But of course it doesn't. The
Well, I finally decided to totally drop IE6. It's great. First big benefit which
Well, I've finally decided that I'm not crazy. So, that leaves DataMapper. Here's what
Well after much messing about I have finally got a query that gives sales
I finally have jQuery AJAX down pretty well and have my website all created,
I have developed an app for the Android and it's working well, finally, and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.