Login and Logout is a must have feature if you are creating a website. In PHP, I can show you the basic method and mechanism of Login and Logout without any database, at this point. Watch the video tutorial here:

Source Codes & Coding Tutorials
Login and Logout is a must have feature if you are creating a website. In PHP, I can show you the basic method and mechanism of Login and Logout without any database, at this point. Watch the video tutorial here:
In order to make our Unity game connected to the online world, it must be able to send requests to and get responses from our server. In this tutorial you will see the basic way to make our game able to communicate to PHP server...
This code snippet reads a text file that if it is not existed it will create one with some text in it. Next time this code is executed, if the file existed, PHP echoes the content of the file. <?php $settingfile = “settings.txt”; $filelink =...
For us, working with database in web development is a mandatory task. Here in this post I’m going to list, as much as I know, PHP & MySQL snippets that I frequently use.
We need to set the encoding of texts we store into database to UTF-8 if we work with Arabic texts. Otherwise, Arabic texts appear like ?????????? in our database.
If you work with PHP, you notice that this URL: http://yoursite.com/index.php?post=2 is not pretty at all. There is term “Pretty URL” and a lot of tutorials how to make your URL prettier. In this post I’m going to share a few line of .htaccess codes...
To upload an image from Android device to online server using PHP, first we need to create a PHP script to handle “post” request and store the image to a folder. So write this simple script on your server:
If you have a page with .php extension and you don’t want to show that extension in page’s url in address bar, you will need an .htaccess file.
This one php function snippet can return true or false value after user submitted a form with Google reCAPTCHA in it.
This page is dedicated for a bunch of PHP useful snippets and codes that we often use it in web development.