GithubHelp home page GithubHelp logo

ppostmanager's Introduction

#PPostManager Nicola Bombaci With PPostManager you can manage a little databse on your personal webpage. If you are not using CMS like Wordpress, Joomla or others, you can use this little tool to create, modify or delete your post.

First of all let's think about our DB.

I thought, in my opinion, that to create a post for our article, we need: a title, a content, an id as primary key and a date.

So let's create our database and our tables with coloumns: title, post, id (Primary Key), date.

Next step will be setting the file common/setup.php and insert:

$host = "ourhost";

$db_user = "ouruser";

$db_psw = "ourpassword";

$db_name = "ourdatabase";

$path_img = glob("../path/for/images/.");

$upload_url = "../path/to/upload/";

After this, our tool is ready to work. We will have two fields: Title and Post. When we write a post we will do it with markup language and on live we will see the results on the window, Preview.

#You can ###Create we must type on title field, on post field and press Create New Post.

###Update select an item from menu Select Table and click on the post to modify, the fields title and post will update and you could change the previous strings. When you will finish press Modify.

###Delete select an item from menu Select Table and click on the post to delete, than press Delete.

###Search type the title of the post you are looking for in the Search Bar

###Upload drag and drop your images in the Upload Window or press on it for multiple upload

###Insert Images select Images to view the content of your default path then the images. You can drag you favourite image and drop inside the post field #Thanks to

ppostmanager's People

Stargazers

Kirtan Gajjar avatar Brad Svercl avatar Vittorio Romeo avatar

Watchers

James Cloos avatar Nicola Bombaci avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.