Simple Session Inactivity Logout

If  you need to redirect the visitor to a logging page due to inactivity. The first thing that we need to do is call the function session_start(); Set Inactive and Current Time: We need to set the maximum time allow … Continue reading

This entry was posted in PHP and tagged , . Bookmark the permalink.

CSS selector & JQuery

Selectors allows you to choose the element that you want to manipulate. CSS provide several way of selecting. Universal selector: (*) select all elements. Tag selector: p, a, span etc… Id selector: this selector uses the following syntax “#” and id … Continue reading

This entry was posted in CSS, Jquery and tagged , . Bookmark the permalink.

Remove a Query String from URL

A query string is the part of the URL that contains the data that is going to passed to via HTTP (GET). The query String typically is denoted by ( ? ) symbol.

See link below with query string:

www.someaddress.com?token=12&others=20&key=22 Continue reading

This entry was posted in PHP. Bookmark the permalink.

File Utilities Class

File Utilities Class This class can be used to retrieve information from files. Description fileUtilities allows you to generate a list of files within a directory with information such as a file name, file ext, etc… Information that can be … Continue reading

This entry was posted in PHP. Bookmark the permalink.

SQL Intro

Before we continue talking about php and mysql I want to give you a brief introduction to The SQL World. SQL (Structure Query Language): SQL was first introduced by IBM developers Donald Chamberlin and Raymond Boyce in the 70s with … Continue reading

This entry was posted in Mysql, SQL and tagged , . Bookmark the permalink.

PHP Include and Required

In php there are functions that allow you to include files into others.  These functions can help you to split large amounts of code and content.  PHP “Include” behaves similar to “Require” with only one exception “Error handling”. Include: If … Continue reading

This entry was posted in PHP and tagged , . Bookmark the permalink.

PHP and Mysql (Connection and Users)

When you are developing using a database, no matter if it’s a web or Window application, one of the first things that you want to do is connect to the database.
In this little tutorial we are going to focus on php & mysql connection and user privileges….. Continue reading

This entry was posted in Mysql, PHP and tagged , . Bookmark the permalink.

Reset Select in Jquery

Some times there is multiple select tags (<select>) in one page and based on the user selection it is possible to hide and reset the select. // When other button is clicked $(“#other”).click(function(){ // Show div with Id == other … Continue reading

This entry was posted in Jquery and tagged , . Bookmark the permalink.

Displaying all Session

How to display all session value in php Continue reading

This entry was posted in PHP and tagged . Bookmark the permalink.