PHP Code Snippets

PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML. It was originally created by Danish-Canadian programmer Rasmus Lerdorf in 1994.

Spintax using PHP

Fragment Content Using PHP

Current year in PHP

Current year in roman numerals with PHP

PHP rotator

Calculate difference between two dates

Minify HTML using PHP

SEO Friendly Links in PHP

I do not use cookies on this website

🍪🍪 What cookies?

Your privacy is important. That's why this website doesn't track visitors with fingerprinting, your IP address or cookies.

Web analytics data is your own. Reclaim it.

Gain back control with a privacy-focused web analytics platform (using a cookie-less architecture) from: Data Centurion.