PHP-MySQL Login Processor.
Howdy folks, As I promised to you, I’m back with PHP MySQL Login System with Remember Me, Online Status, Forgot Password & User Profile option. This tutorial is much advanced than the previous one and it is a extension of that. If you are a beginner, then you should start reading with the previous article… [Read More]
Howdy coders, In this post, I’m going to show you how to upload and validate files using PHP. At first we’ll need a simple HTML form with an input type=”file”, then we’ll catch the uploaded file from PHP using $_FILES[“file”]. Then we’ll validate it by extension, mime-type and file size; then process it further.
Hello everyone, In this post we are going to create a very simple PHP MySQL login system. At the beginning, we will show a registration form to users and store user given data into MySQL database. Then we will create a login page where we take username and password and let users logged in if… [Read More]
Use the function below to search a string within a string. This function is case-insensitive. Use stristr for case-insensitive and strstr for case-sensitive.
This is a simple PHP function to detect Mobile UA (User Agent). You can uncomment line 24 and line 28 to get which user agents got caught by this function. Returned values are ‘mobile’ if UA is mobile and ‘computer’ if not mobile.