February 14, 2018 / Comments: 0

Sneak peak to OOP - Pagination class

Pagination class, introduction to OOP I would like to begin with a statement that page navigation or pagination was planned to have its own post but since it was necessary for the gallery at the time, I have decided that there will still be a post dedicated to pagination. However, to avoid duplicate content, the plan is to rewrite it in object-oriented...

Tags: php  oop  

February 9, 2018 / Comments: 0

How to implement Image LightBox to gallery?

How to implement Image lightbox on LPG? Today we are going to look into how to implement a jQuery ImageLightBox plugin into Light-weight PHP gallery which was disscused in the previous tutorial. Firstly, we will look into the basics of how to configure the plugin to work on the gallery as well as some of the basic plugin's features, such as overlay and close button....

Tags: gallery  php  jquery  css  

January 30, 2018 / Comments: 0

How to create a gallery with thumbnails using PHP?

Creating a gallery with thumbnails and pagination In this tutorial, I'll be showing you how to make a safe to use, yet simple, gallery with thumbnails, without database, using PHP only. We will also include pagination and sorting of the images by creation date(when they were uploaded) that will somewhat replicate the SQL datetime effects. The basic concept is to...

Tags: gallery  php  

December 23, 2017 / Comments: 0

How to reset a password using PHP and MYSQL?

Create a password reset using PHP and MYSQL So in this tutorial, which will basically be a follow up to how to create a registration form, we will take a look at how to reset a password from already defined MYSQL table called sql_users. For this purpose, another table will be added that will handle password reset tokens which will only be active for 12 hours or...

Tags: php  mysql  html  

December 15, 2017 / Comments: 0

How to create PHP registration form with email activation?

PHP registration form with email confirmation A time comes when a project requires more than just one time user that will be managing a blog or a website so, for this purpose alone, we will be looking at how to create a simple registration form using PHP and MYSQL. To protect against spam user creation, I'll include the captcha condition that anyone using the...

Tags: php  mysql  html  

November 30, 2017 / Comments: 0

How to create ADD, EDIT, DELETE system using PHP?

PHP and MYSQL event(ADD/EDIT/DELETE) system In this tutorial we will take a look at how to create a basic event system using PHP and MYSQL. The system will have an option to add, edit and delete events as desired. It will contain two files, one for manipulating events and the other to display the output. The former I will name addeditdel.php and the latter...

Tags: php  mysql  html  css  

November 10, 2017 / Comments: 0

How to make a contact form with Captcha using PHP?

Simple contact form with Captcha using PHP Previously, we have looked into how to make a captcha image using PHP and now we are going to use it to make a simple but efficient, spam free, contact form. Once again, we will rely on PHP sessions to compare values of the generated captcha and input provided by a user. Other required conditions will be created in order to...

Tags: html  php  sessions