How to access MySQL database in PHP

php-mysql-files

In this tutorial, we are going to access MySQL database from PHP. Accessing MySQL from PHP is very simple and easy to implement. PHP contains MySQLi class functions to connect and access the database. Some of those are used in this article. This article contains a short example of accessing databases using PHP and MySQL. […]

How to Get the Client User IP Address in PHP

Get-IP-Address-in-PHp

This is fairly a straightforward topic. Just a few lines of PHP code will do the work of getting the client user IP address. Most of the times it is true, it is all about a few lines of PHP script. Sometimes things get tricky. We shall see about those things and also an other […]

PHP Login Page with Sessions

php login

Are you looking for PHP login script, in this post I want to discuss how to create a simple PHP login with welcome page using MySQL database. This will explain you creating admin_login tables, posting form values and storing and destroying the session values. If you are a PHP beginner download script and take a […]

Add Security to your PHP projects using .htaccess file

htaccess file

In this article very small discussion about .htaccess file. After lots of requests I publish this article to add more security to your php application using .htaccess file. In this tutorial I want to explain about hiding .php extensions and URL rewriting. So improve your Web projects security and quality.