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 7748411
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T10:46:43+00:00 2026-06-01T10:46:43+00:00

I’m setting up a custom blog that grabs the posts from a mysql database.

  • 0

I’m setting up a custom blog that grabs the posts from a mysql database. Everything is working great, but what I’m wondering is how I should go about adding posts to the database. I can only think of creating a random page that needs password access with a textarea and submit button, or just adding it in PHPMyAdmin. Neither of those two methods seems very practical, though.

How does Jeff Atwood himself do it? How should I do it?

edit: For clarification, this is not a blog system, this is a website I’m working on for myself.

  • 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-06-01T10:46:44+00:00Added an answer on June 1, 2026 at 10:46 am

    Well firstly instead of a textarea I would use CK editor (or your favourite replacement) unless you’re happy to enter the HTML yourself. Since you’re the only person using the site this is probably the case.

    Securing the form can be very simple or very elaborate. As you say it’s just for yourself and not for anybody else I would suggest putting it into a folder (not named admin) and using .htaccess as basic user authentication. This is really easy and fast to set up. Here’s the top Google Result for online tools.

    The reason I’m suggesting this solution is that it will take only a few minutes to set up. It’s not 100% secure, but otherwise you would need coding effort to create signon pages and session handling etc. I guess you could even have a password field on the input form itself and check this in your processing logic. Sort of like a failback on the .htaccess that would prevent action from being taken on submitted forms unless the correct password is entered. Somebody could penetrate .htaccess and view the form, but not use it.

    I’m pretty sure the major bloggers have got admin backends that they login to in order to be able to post. Almost certainly they have access control levels to assign roles to specific users. All of this is probably overkill for a simple site where this feature is not the main function of the site but rather a side attraction.

    If it is a big part of the site you could do an installation of an existing CMS (WordPress,Joomla, Drupal) in a subdirectory and then get your content feeder to pull from the CMS database. That’s a pretty big footprint but then at least you’ll have all the features of the CMS at your disposal. It’s also pretty impractical and seems wasteful to have an entire CMS to provide snippets.

    What specifically is not practical about a form? Are you thinking more along the lines of polling an RSS feed for content? If you’re wanting your own content to appear you’re going to have to enter it somewhere. I can’t think of a way to do it more easily than with a form.

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

Sidebar

Related Questions

I have a French site that I want to parse, but am running into
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I'm working with an upstream system that sometimes sends me text destined for HTML/XML
I have a bunch of posts stored in text files formatted in yaml/textile (from
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I want to count how many characters a certain string has in PHP, but
For some reason, after submitting a string like this Jack’s Spindle from a text
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I've got a string that has curly quotes in it. I'd like to replace

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.