Restrict PHPMyAdmin to IP Address
Would you like to restrict PHPMyAdmin from being accessible to the whole world?
Firstly you need to SSH into your box if you are not on the local …
Read Article →52 articles about php development, tools, and best practices
Would you like to restrict PHPMyAdmin from being accessible to the whole world?
Firstly you need to SSH into your box if you are not on the local …
Read Article →I needed to do some work on a WordPress site a little while ago and all the admins were French – and I cannot speak French other than the popular …
Read Article →If you would like to replace all the spaces in an HTML string with so that you can render it out to the browser but you also want to retain current …
Read Article →You can use the PHP code below to check if an IP address is valid or not.
$ip = ""; //enter a valid or invalid ip address here …
Read Article →
Call me ignorant, or call me an ignorant geek, but I used to think is_home() and is_front_page() was the same thing, until I experimented with them …
Read Article →PHP Error messages showing up in your web applications are a dangerous thing. Not only does it look unprofessional, but it is also a serious security …
Read Article →It is a script which allows clients to make procedural calls over the net.
As it says in the name, the encoding is XML and because it is used on …
Today I will show you a method to stop the traffic that a referrer site is sending your way, you may wonder why you would want to ignore traffic, …
Read Article →If you do not know what the Ternary operator is, or do not use it while you are coding, let me be the first to tell you how much you are missing out! …
Read Article →Quite often you may need the ability to check what type of data type a variable is.
In most programming languages this is possible to do and is …
Read Article →In the below example we will use Actionscript 2 to call a remote PHP file that will return data to it.
It is a simple way of transferring data between …
If you would like to show random numbers using PHP you can do this:
<?php
$min = 1;
$max = 100;
$total = 100;
$arrItems = array();
while ( …
Read Article →