Recent Posts

How to find the current URL in PHP

1 minute read

The full URL to a page comes in three parts: The domain name, the path to the file then the filename, and the query string. For example, take the URL http://...

Find a visitor’s IP address with PHP

1 minute read

Do you want to know the IP address of a visitor? This can be useful for many reasons, such as tracking site usage or blocking access to specific people. Here...

Rotating Images with PHP

4 minute read

This tutorial will show you how to rotate an image in your PHP scripts. You’ll need to have the GD library installed to be able to use some of the functions ...