Let’s say we have our local webserver, in my case I use XAMPP so I can have a local web in my localhost. Then, by accessing this local web page over wifi from my mobile phone web browser, I can upload some files from my...

Source Codes & Coding Tutorials
Let’s say we have our local webserver, in my case I use XAMPP so I can have a local web in my localhost. Then, by accessing this local web page over wifi from my mobile phone web browser, I can upload some files from my...
So, you have a backend script in PHP that returns JSON string and you want to parse that data from your Unity game. What would you do?Based on my experience, here is how I do it. PHP Let’s say I have a PHP script (index.php)...
I personally really like to do “make a table if not exists” and “add a column if not exists” to mysql database when working with PHP. By doing that I don’t have to manually create table and add column before populating it with data from...
Hi there, I know you often develop an online websites on your local environment using local webserver such as XAMPP before you deploy it on real web server online. Sometimes you need to access your local website that is running on localhost for example in...
Basically making a WordPress plugin is very easy. If you know the basic, you can make it super complicated, depending on what you want to achieve. First Step: Make the directory and plugin file To make a plugin, simply create a directory inside wp-content->plugins folder...
When you are working on WordPress development (theme deelopment or plugin development), probably you will need to retrieve current website database name, database user and password. To get those information you can write these lines on your theme/plugin: The last three lines will echo the...
This PHP program you can use it to upload your personal files to your website directory so you can access them anywhere. By default username and password are admin and admin, you can change them by editing index.php file. To get the source code, go...
It is a simple PHP program to download any file from URL to your server Let’s say we have two websites, the old one has some files that we need to move them or copy them to the second website. Obviously we can download those...
Sometimes we need to know how much is the size of a directory including files inside it in PHP. Here is a nice simple PHP function to do so. Just call the function and it takes one parameter which is directory location. For example we...
Hi, this is a nice function maybe useful for your coding need in PHP. This function will convert any numbers in bytes to a nice format like kb, mb, gb and so on. Here we go:
This tutorial teaches you how to make an online shop that works with WhatsApp for free without using WordPress or Joomla CMS. This PHP software is a lightweight and simple CMS system that allows you to post products with pictures, description, pricing, quantity and options....
There is Array in PHP, and there is also object. We can simply make array that each member contains a value such as string or integer or we can also store object as the value of each array member. This is the example that I...
Hello guys! Watch this series of my videos to see how we can make Unity login, logout and register easily: And here are the code I wrote: First, config.php file Then the index.php backend file And the last file is UnityLoginLogoutRegister.cs file In case you...
This cooldown button program detects is the current visitor already visited the website or not, if he/she visited already it checks when is that, and then decide does he/she can click the cooldown button again or not. Here is the code, a bit messy:
My previous post shows you how to read a file and retrieve its content in PHP. This one, you will see how to read file and also write to a file with easy: Here is the code:
This simple script can be used to read a file and displaying it contents into a web browser. Watch the video here:
This is a PHP based online videos website content management system. Features included: Post publishing Video file upload Video thumbnail image upload Category management Search entire content Custom logo, color and icon change ability And so on… Watch this video to see how to set...
Delicifood is a free PHP based ecommerce platform or online listing website system that enable you to make a very simple and yet fully functioning ecommere platform, for example a food & beverage marketplace, electronics, property and so on. Features: User login & registration Add...
We can not allow users to upload any files and any images to our server, we need to make rule, for example we don’t allow them to upload an image bigger than 1mb/2mb or image that its width is more than 512px. Here with this...
Just include this php file then call its function to make social share buttons on any page of your site easily. Watch how to do it in this video: Get the source code used in this video from my GitHub page: https://github.com/habibieamrullah/PHP-Social-Sharing-Buttons Sharing buttons powered...