Quantcast
Browsing all 29 articles
Browse latest View live

MySQL DELAYED INSERT and MySQL DELAYED UPDATE

Overview Performing MySQL queries on your websites or server can cause long delays in a page loading or script executing while the MySQL INSERT or MySQL UPDATE finishes executing. This causes long...

View Article


MySQL INSERT IGNORE – A MySQL Syntax Tip

Overview – MySQL INSERT IGNORE In MySQL, when you perform a mysql insert query, it is almost inevitable that once in a while you will come across errors with one of the insert queries. Once an issue is...

View Article


Specify Sitemap In Robots.txt

Overview When creating a new website, or updating an existing website, you need to tell google and other search engines where your sitemap is located. You can submit a sitemap to google using Google’s...

View Article

Real World Unix Timestamp Examples

Overview Unix timestamps are extremely useful and can be used across my different programming languages and platforms. I will outline a couple programming languages that support timestamps. PHP –...

View Article

PHP Ping Script To Check Remote Server Or Website

Overview Ever needed a quick php code snippet to perform a ping to check if a remote server or website is up? Then see the code below which contains two variations of a ping function that will show you...

View Article


Override The Default PHP Execution Timeout Limit

Overview In many programming language there is always a chance that your code will enter an infinite loop and get stuck for a long time. There is also a chance that a script may be processing large and...

View Article

PHP Increase Memory Limit Using Htaccess, Apache Or PHP

Overview Most of us have come across this error: “Fatal error: Allowed memory size of xxxxxx bytes exhausted (tried to allocate yyy bytes) in ….” in the php error log files. In php, running out of...

View Article

Disable SSH Login For FTP User

Overview The below guide will show you have to create an FTP account for vsftpd and also block ssh access making a ssh account a ftp only account. This will also disable telnet access to the ssh...

View Article


Create DNS Record For Subdomain – Add DNS Entry Into Bind

Overview Welcome to the first of a number of DNS related articles I will write to help explain the different tasks needed to configure and manage your own DNS server using bind under Linux. The article...

View Article


Add New Zone To Bind DNS Server

Overview Welcome to the second of my DNS articles. It is more of a prequel to my first article in which I explained the steps in Creating A DNS Entry For A SubDomain. This article assumes you have...

View Article

How To Setup IP Address in Linux

Overview In this guide, you will be shown how to setup the IP address of a computer or server running Linux. Before we know which way to configure your network card, you need to know if you want to use...

View Article

Perl Ping Script To Ping Remote Server Or Website

Overivew Below is a perl script which will allow you to ping a remote server. The article is a follow up article to my php ping script article. This article is similar in that we will also be pinging a...

View Article

Execute Logrotate Command Manually

Overview One day while perusing around one of my Debian Linux servers I noticed that the disk was extremely full. It isn’t a server I access all the time so the disk space being filled up had gone...

View Article


Protect Folder With Htpasswd In Apache

Overview Need a folder secured on your website with a username and password prompt? You may have some important documents you need to share with selected people. You could have restricted downloads you...

View Article

Running PHP Script From Cron

Overview Cron is a job based scheduler used in Unix type operating systems. It allows you to schedule tasks to be run at given intervals such as scheduling a php script to run weekly, every second day,...

View Article


MySQL REPLACE – Replacing text in MySQL

Overview MySQL replace is a mysql function that allows you to replace one bit of text with another piece of text during a MySQL query. The best way to understand how a MySQL REPLACE Function works is...

View Article

Export Proxy Username Password Linux

Overview If you are wondering how you can tell your Linux applications to use a proxy, then you have found the right article and as you will find out, it is surprisingly simple. After you set the proxy...

View Article


Online DNS Dig Website

Overview For those people who find themselves playing around with DNS setups from time to time will more than likely have worked with or at least heard of the command `DIG`. For those who don’t know...

View Article

Convert Unix Time Online Website

Overview After discovering exactly what timestamps are and how much they can simplify storing dates and time, I often find myself using unix timestamps more often than not. If you are new to...

View Article

Why Unix Timestamp Is Useful

Overview Unix timestamps are a way or storing a specific date and time. Unix timestamps are a 10 digit number that represents the number of seconds that have passed since midnight Universal...

View Article
Browsing all 29 articles
Browse latest View live