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

  • SEARCH
  • Home
  • 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 361583
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T12:53:59+00:00 2026-05-12T12:53:59+00:00

Hey im working on my first php site, and was hoping to get some

  • 0

Hey im working on my first php site, and was hoping to get some thoughts from you guys.

1- I’m using a txt file database, cuz its a simple set of scripts. I know that’s not recommended, but i wanted to work with it some, before getting into mysql. Thoughts on this in general? Pros, cons? Vulnerable?

2- Related to the previous question … security. So far i have some basic form input cleaner functions like: trim, strip_tags, preg_replace, htmlentities. Sound adequate? Overkill? Thoughts? Are there any ways to safely test the security of a script, before sending it out into the webs?

Im learning here, so any info is greatly appreciated. Thanks !

PS- there is no registration for users. Just some submission forms and a display of those submitted entries.

  • 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-12T12:54:00+00:00Added an answer on May 12, 2026 at 12:54 pm

    (1) A text file database is very difficult to get working right. You will have multiple requests stomping over each other trying to edit your file concurrently. You’d be better of just getting into SQL right away.

    (2) Make sure to use parameterized queries to prevent SQL injection, and to properly encode strings before injecting them into HTML, URLs, or other similar places. As for testing, disable or bypass any and all client checks, and try to insert long strings with weird characters as inputs into your forms.

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

Sidebar

Related Questions

hey guys, i manage to get this script working to pull data from my
Hey guys hoping for a little help here. First I created a working map
Hey guys, first off all sorry, i can't login using my yahoo provider. anyways
Hey guys and gals I'm having some major issues trying to get my application
Hey i'm using oracle sql to create a database. I im now working on
Hey guys, first off I played around with shortcodes, but they aren't working. I
Possible Duplicate: how to test php email using WAMP Hey everyone, First off I
Hey guys... I'm working on creating one of my first websites and currently have
hey guys im working on a task to make my story's links like this
Hey all i am in need of some help getting my code working correctly

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.