944,161 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 4122
  • PHP RSS
Oct 17th, 2006
0

Simple article manager script in PHP I wrote

Expand Post »
It uses a very simple PHP script to use text files as articles and directories as categories to build a website. It's a very simple CMS and uses no database to store anything. It doesn't have comments or search, but it is a good solution for a fairly static, traditional content-based site without recoding each HTML file separately.

It uses no admin panel is extremely small and lightweight and secure. Ideal for a small, personal content-based site. Do read the "readme" file before, it's very simple to set it up. Just create folders for categories and put the articles inside each category as a text file (with HTML for formatting if needed). Upload articles as text files in the category you need and you're done!

I don't plan on extending it with any features as it's meant to be very basic...

The article text file format is
PHP Syntax (Toggle Plain Text)
  1. Article title
  2. **
  3. Article content
Check my site for a demo:
http://harishankar.org

You can download it as I've attached it here.
Attached Files
File Type: zip sam-0.19.zip (12.9 KB, 375 views)
Last edited by harishankar; Oct 17th, 2006 at 3:56 am.
Similar Threads
Reputation Points: 13
Solved Threads: 0
Junior Poster
harishankar is offline Offline
104 posts
since Dec 2004
Jun 25th, 2007
0

Re: Simple article manager script in PHP I wrote

Okay, I must be dense since I don;t see any admin area to add articles. Isn't that what a cms is? All I see is a template that inserts my website url but what about adding articles? managing Categories...where is this done, please?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
deesw is offline Offline
1 posts
since Jun 2007
Oct 15th, 2007
0

Re: Simple article manager script in PHP I wrote

You have to create directories (folders) labeled with the same name as your article, then put a text file in it with your articles content.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
ItalicVisions is offline Offline
1 posts
since Oct 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: Regular expressions and formatting
Next Thread in PHP Forum Timeline: PHP gurus: Technology in PHP that has same capability of google book.





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC