Menu

Tree [r1] /
 History

HTTPS access


File Date Author Commit
 scripts 2010-07-25 mguthrie88 [r1]
 tiny_mce 2010-07-25 mguthrie88 [r1]
 README.txt 2010-07-25 mguthrie88 [r1]
 add_entry.php 2010-07-25 mguthrie88 [r1]
 blogsystem1.01.zip 2010-07-25 mguthrie88 [r1]
 comment.php 2010-07-25 mguthrie88 [r1]
 delete_comment.php 2010-07-25 mguthrie88 [r1]
 delete_entry.php 2010-07-25 mguthrie88 [r1]
 edit_entry.php 2010-07-25 mguthrie88 [r1]
 footer.html 2010-07-25 mguthrie88 [r1]
 header.php 2010-07-25 mguthrie88 [r1]
 index.php 2010-07-25 mguthrie88 [r1]
 login.php 2010-07-25 mguthrie88 [r1]
 logout.php 2010-07-25 mguthrie88 [r1]
 register.php 2010-07-25 mguthrie88 [r1]
 setup.php 2010-07-25 mguthrie88 [r1]
 style.css 2010-07-25 mguthrie88 [r1]
 thumbnail.jpg 2010-07-25 mguthrie88 [r1]
 todo 2010-07-25 mguthrie88 [r1]

Read Me

PHP Blog Insert is a set of php scripts designed to be inserted into an existing web page template. PHP Blog Insert comes with basic admin controls, php captcha verification, and blog commenting.  I'm hoping to have more features in the coming months.  Send me an email with suggestions, comments, or improvements.  This is my first attempt at a development project, so all of you seasoned programmers bear with me, ok? ; )
Created by: Mike Guthrie - mike@guthriefam.org

v1.01 - Improved a few security features and added some simple Jquery to toggle the comment boxes on or off.  - MG  




SETUP:
- make sure you have PHP installed on your webserver and magic quotes disabled (most do now by default)
- create a mysql database on your webserver with a username and password.  User must have full permissions for that database.  
-unzip the php files into the directory where you want the blog
-access the 'setup.php' file through your webbrowser.  {http://yourblogsite/setup.php}
-complete the form, and if MySQL is set up correctly you should see a series of success messages.
- The setup file will display errors as to where it went wrong if MySQL didn't set up correctly.  
-If setup was successful, delete or move setup.php outside of a web accessible directory.  
-IF YOU DON'T DELETE OR MOVE YOUR SETUP.PHP FILE AFTER INSTALL SOMEONE CAN RESET YOUR ENTIRE BLOG SITE
-Login to your index.php page through your web browser and start blogging!

IMPORTANT FILES:

setup.php
  -this script sets up your MySQL database and initial admin login.  Run this first, and if everything runs succesfully, it can be moved or deleted.  

/scripts/db_connect_select.php
  - this script contains your MySQL database authentication after setup.  If you need to change database information edit this file as you have need.  

header.php and footer.html 
  - the contents of these two files makes up your page template.  
  - all of the php scripts are built to run inside of the "textbox" div.

style.css
  - this is a base set of styles for the page, this can easily be replaced by your own stylesheet.     

scripts/functions.php 
  - if you need to edit the format of the comment boxes or links associated with the, the loops to create them are all located on this page.  




Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.