Блог на php исходники

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

A simple blog application created using HTML, CSS, PHP & MySQL.

vishalbandre/php-blog

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Sign In Required

Please sign in to use Codespaces.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Git stats

Files

Failed to load latest commit information.

README.md

Instructions to setup the database

create database php_blog; create user 'php_blog_user'@'localhost' identified by 'php_blog_password'; grant all privileges on php_blog.* to 'php_blog_user'@'localhost'; use php_blog; create table users ( id int not null auto_increment primary key, username varchar(25) not null unique, password varchar(100) not null, name varchar(200), role varchar(10) not null default 'editor', email varchar(200), reset_link_token varchar(200), exp_date datetime ); create table posts ( id int not null auto_increment primary key, user varchar(25) not null, title varchar(200) not null unique, description text, body text, created_at datetime default now(), updated_at timestamp not null default current_timestamp on update current_timestamp, foreign key (user) references users(username) ); create table carousels_categories ( id int not null auto_increment primary key, name varchar(100) not null unique ); create table carousels ( id int not null auto_increment primary key, category_id int not null, user varchar(25) not null, title varchar(200) not null unique, description text, created_at datetime default now(), updated_at timestamp not null default current_timestamp on update current_timestamp, foreign key (user) references users(username), foreign key (category_id) references carousels_categories(category_id) ); create table images ( id int not null auto_increment primary key, user varchar(25) not null, imgpath varchar(200) not null unique, caption varchar(250) not null, created_at datetime default now(), updated_at timestamp not null default current_timestamp on update current_timestamp, foreign key (user) references users(username) ); create table carousels_images ( carousel_id int, image_id int, foreign key (carousel_id) references carousels(id), foreign key (image_id) references images(id) ); insert into users(username, password, name, role, email) values('admin', md5('admin'), 'Administrator', 'admin', 'vshlbndr@gmail.com'); insert into users(username, password, name, role, email) values('vishal', md5('vishal'), 'Vishal Bandre', 'editor', 'iamvshlbndr@gmail.com'); insert into posts(user, title, description, body) values('admin', 'First Post', 'First Post Description', 'First Post Body'); insert into posts(user, title, description, body) values('vishal', 'Second Post', 'Second Post Description', 'Second Post Body'); insert into posts(user, title, description, body) values('vishal', 'Third Post', 'Third Post Description', 'Third Post Body');

Setting cron jobs with crontab

Читайте также:  How to turn on html

> crontab -e # crontag content: # Output to file # */1 * * * * php -q /home/vish/dev/web/php/blog/newsletters/cron.php > /home/vish/dev/web/php/blog/logs/newsletters.txt # Run script with php command # Append to file #*/1 * * * * php -q /home/vish/dev/web/php/blog/newsletters/cron.php >> /home/vish/dev/web/php/blog/logs/newsletters.txt # Will give access to $_SERVER #*/1 * * * * curl -q http://blog/newsletters/cron.php >> /home/vish/dev/web/php/blog/logs/newsletters.txt # Check your cronjob activity with: > /var/log$ grep CRON /var/log/syslog e.g. vish@ubuntu:/var/log$ grep CRON /var/log/syslog

About

A simple blog application created using HTML, CSS, PHP & MySQL.

Источник

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

PHP blog script making blogging easy.

codeqasim/blog

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Sign In Required

Please sign in to use Codespaces.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Git stats

Files

Failed to load latest commit information.

Читайте также:  Java json string to object gson

README.md

Simplest PHP based blog fully optimized for search engines 100% opensource code and ready to extend the features. logically inspired by wordpress, medium, gitbook & ghost cms.

❤️ Build with technologies : PHP MYSQL HTML CSS JS

  • 🌐 100% opensource code
  • 👑 Categories module
  • 📄 Newsletter & subscribers
  • ⏫ SEO optimized
  • ⚡ Google AMP Optmized via url/amp
  • 😎 Multi users accounts
  • 📁 Built-it pages views analytics
  • 💾 Post draft feature
  • 💿 Base64 article optimized images
  • 🔎 Auto Sitemap generation
  • 📄 Beautify URLs
  • 📱 Social links and shares
  • ⚠️ Page hits views counter

Starting your own niche based blog is very challenging specially when it comes to selecting any of your CMS or blog script. speed, performance, optimization, SEO and user-friendly are the options you need to be very handy. fancy cms and blog scripts are no more easy to handle configure or install on your shared or dedicated servers anymore. PHP Blog Script makes life much easier to just add your db credentials and install the entire platform within 2 minutes.

No plugins no libraries and fancy themes to customize and waste your time simple elegant and useful blog platform is ready for you to install for free and start blogging without wasting your time on search other blogging scripts.

Источник

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

Читайте также:  Java search byte in byte array

php-blog

Here are 26 public repositories matching this topic.

pH-7 / PHP-MVC-Blog-System

🔥 Simple PHP blog system application based on the MVC pattern and written in PHP 5.5. This project can be used as a Base MVC «framework» to start your PHP project easily under good development patterns and good development practice and organization.

Philipinho / Simple-PHP-Blog

This is a simple blog built with PHP/MYSQL.

daniruiz / PHP-blog

Really simple blog framework written in PHP

nenuadrian / Secret-Republic-Hacking-Browser-Game-V3

Secret Republic Hacker simulation ORPG — browser based PHP AND MySQL, text & image futuristic open-source game

formidablae / a_cool_blog

An API of a blog made with Lumen Framework for fast paced PHP, Laravel/Lumen learning using https://github.com/fattureincloud/a-lumen-blog template. Frontend: https://github.com/formidablae/AngularBlog

MobinaJafarian / BitBlog

A BitBlog («weblog») is a simple online journal that can be run by a single person and provides regular updates (blog posts) on various topics. and presents posts in reverse chronological order , and written with PHP 8.1

Yurunsoft / YurunBlog

基于 YurunPHP2 框架的博客系统!正在开发中!

HayeulTanjib / My-blog-PHP-OOP-

Simple personal blog made with PHP(OOP) 📝

technosmarter / SEO-friendly-blog-CMS-system-in-PHP-with-MYSQL-database

Make a blog CMS in PHP with MYSQL database.Complete CMS system is created by PHP and MYSQL database with better resources .

BookFrank / Rise-Blog

Mohammadreza-73 / blog

mesinkasir / cuteblog-php

Build blog with native php using Cuteblog free source code

NBComrade / Simblog

Simple blog system on Yii2 Framework

selcukgiray0000 / PHP-BLOG-SYSTEM

It is a simple blog application coded with PHP, HTML, CSS. You can develop, edit. You can see it as a skeleton. ⚡

hexageek1337 / Hexaa-Inside-Blog

rahulkhimsuriya / php-blog

This is a core php blog project.

shindesharad71 / DigiWord

✒️ A Single Author Blogging Platform Created with PHP & Bootstrap.

Otumian-empire / 24pill-code

This is a blogging platform, combining my interest and admiration of the effect that Quora and Stackoverflow has on developers. So I am trying to merge them or something like that or even far fetch from either, worse together. This project is purely written Php.

technosmarter / modern-blog-cms-in-php-and-mysql

The modern blog contains latest features and lightweight structure . We have designed and developed a complete modern blog in PHP and MYSQL database .

mohammadraufzahed / php-blog

a simple blog writed in php

Improve this page

Add a description, image, and links to the php-blog topic page so that developers can more easily learn about it.

Add this topic to your repo

To associate your repository with the php-blog topic, visit your repo’s landing page and select «manage topics.»

Источник

Оцените статью