PHP

PHP is a popular general-purpose scripting language that is especially suited to web development PHP originally stood for Personal Home Page, but it now stands for the recursive initialism PHP: Hypertext Preprocessor.

www.php.net

what is php 3 1 - A Simple Generic PHP cURL Class

A Simple Generic PHP cURL Class

cURL is a most excellent library that enables you to communicate across a network with a number of protocols. PHP integrated the cURL library early in its development and nowadays its use is widespread across countless applications. To read more...

what is php 3 1 - Murmurhash2 in PHP without the extension

Murmurhash2 in PHP without the extension

Murmurhash is a nice and speedy hashing algorithm that is handy for creating hash values based on strings. I use it often as benchmarks suggest it is one of the speedier implementations out there. Murmurhash can create 32-bit or 128-bit outputs. In...

Cover Image by MilesAndryPrower on DeviantArt

A Quick and Efficient URL Shortener Using PHP and MySQL

URL shortener’s have proliferated in the past few years, mainly due to the confines of data length that mobile and social networks like Twitter apply. The following code example shows how to make a simple and efficient URL shortener, with...

what is php 3 1 - Broken 🔗 Link Checker Using PHP and cURL

Broken 🔗 Link Checker Using PHP and cURL

Whether operating a commercial site, a directory, or a personal site, it is important to ensure you do not have ‘dead’ links on your website. Broken links; links that point to inactive domains or 404 pages are of little use to your site...

what is php 3 1 - A Simple PHP/XML Sitemap Generator

A Simple PHP/XML Sitemap Generator

XML Sitemaps are a useful method for search engines to quickly pick up new content they would otherwise have to find via hyperlinks on the web. Sitemaps can also provide useful metadata regarding URLs such as its last modification date, how often...

what is php 3 1 - Using PHP DOM Functions to Parse PHP and Find Links

Using PHP DOM Functions to Parse PHP and Find Links

When developing websites, there are a million and one reasons that you will find yourself needing to parse some HTML to find snippets of information. On the face of it, most of the time a simple regular expression will do the trick, particularly...

what is php 3 1 - Simple PHP & MySQL Pagination

Simple PHP & MySQL Pagination

When looking at MySQL output, it is sometimes more convenient to split up the number of records returned into separate pages and include hyperlinks to further pages in the result set, a layout often referred to as pagination. The following is an...

what is php 3 1 - HTTP Fetching in PHP Without cURL

HTTP Fetching in PHP Without cURL

On some shared hosting accounts, cURL, fopen or file_get_contents functions may be disabled ‘for security reasons’, yet you can still achieve HTTP fetching using socket functions. This simple class of code will allow you to do a wide...

what is php 3 1 - Simple PHP .htpasswd 🔑 Manager

Simple PHP .htpasswd 🔑 Manager

Sometimes simplicity is also convenient, and in the case of authentication on the most popular web server, Apache, .htpasswd fits the bill You may opt for a PHP/MySQL login which in itself is simple enough, but requires the availability of MySQL. If...

what is php 3 1 - Forking with PHP from the command line 👨‍💻

Forking with PHP from the command line 👨‍💻

Forking new processes is an extremely handy function in programming that allows you to run tasks in parallel to one another, from a single invocation of a program. You may be interested in forking if: You have a multi-processor/threaded CPU and want...