Basic Tutorial PHP/MySQL (Part 1)

phpOne of the most requested tutorials are those that explain how to connect and use a MySQL database server with PHP code. I have written a basic tutorial showing how to perform MySQL queries with PHP.

So you’re wanting to use a database with PHP to store your data? MySQL is a great open-source RDBMS (Relational Database Management System) that is widely available on many web hosting packages. Before we start make sure that you have access to both PHP and MySQL on your hosting package.

Read More

PHPCache Release

phpI have been working on a small class to cache functions in PHP. I have come up with a class that will allow you to convert any standard function into a cached function with just one line of code. The main advantage is if you are using a Linux based server for running PHP, as I have included (by default) for the cache files to write straight to the system RAM that greatly increases performance. Check out the code below.

This is the first release of the file up to now so if you have any problems let me know.
Read More

Game Server Manager Project

gsmGame Server Manager (GSM) started life as a very simple system for managing Linux based game servers. The early versions all worked via shell scripts and whilst this worked very well managing the servers requires an understanding of Linux. GSM was created to remove the requirement for any Linux knowledge in setting up and managing game servers.

You can view this project here: Game Server Manager website

Read More

Easy JQuery AJAX Links

jqueryThis is something pretty basic, but I thought it would come in handy for people that might want to use JQuery AJAX but doesn’t want to write a lot of code to do it. The following code will allow you to transform any normal HTML ‘a’ link into an AJAX request just by adding an extra parameter to the HTML tag.

Read More

Redesigned website and blog

siteI have finally gotten around to replacing my old website with a shiny new one. This has a lot more features and allows me to update the website more frequently. I will also be posting some of the new related “techy” news on the blog as well.

I have set up some sections to allow me to post some of my PHP/JavaScript code that I will be releasing, this will give me good grounds and a basic “code portfolio” to work and learn from. I have kept the design of the website as simple as possible but also easy to read.

Any questions please feel free to leave me a comment or contact me from the relevant pages.

Google unveils Chrome operating system

chromeChrome OS, due to launch next year, will be based on Linux, and is leaner than Windows and some people believe it could radically change the way we use computers. User data will be stored on Google’s servers and synchronise with Chrome OS devices.

No common desktop applications such as Microsoft Word or Adobe Reader will run on Chrome OS and the only application it will come with is a web browser.

This means the user is limited to web applications such as Gmail and Google Docs. Google said that because Chrome OS doesn’t allow the user to install desktop applications, the user is less at risk from malicious software.

Chrome OS allows Google to collect more information on the computing habits of its users, adding to the information it already has about people’s search, email and video usage.

The software will be designed for portable computers such as netbooks; but currently not for desktop PCs or standard laptops.

Google Launches Public DNS

Google will use its own DNS servers to resolve queries from computers using Google Public DNS. In its Thursday announcement, Google said that page loading performance would be improved by provisioning and load balancing its servers, and by minimising denial of service attacks.

Google will also experiment with pre-fetching name resolutions to speed page loading, loading translations into its cache before they are asked for, in the expectation that they will be required.

Google Public DNS does not support DNS security extensions(DNSSEC), a protocol that guarantees the integrity of DNS data and prevents cache poisoning — a vulnerability in DNS where attackers can insert misdirection information that hijacks user requests.

Read More