Category: PHP

How to create a simple and efficient PHP cache

by Jean-Baptiste Jung. 19 Comments

When working on php websites made from scratch and without a framework, speed can often be an issue. Caching is extremely useful in order to speed up PHP webpages. In this article, I’ll show you a super easy and efficient way to dynamically cache php pages that need to be faster.

Useful PHP code snippets and functions

by Jean-Baptiste Jung. 11 Comments

Every web developer should keep useful code snippets in a personal library for future reference. Today, I have compiled the most interesting and useful PHP code snippets I have added to my personal snippet library the last 3 months.

Amazing things to do with PHP and cURL

by Jean-Baptiste Jung. 19 Comments

cURL, and its PHP extension libcURL, are very useful tools for tasks like simulating a web browser, submit forms or login to a web service. In this article, I’m going to show you some amazing things that you can do using PHP and cURL.

10 super useful PHP snippets you probably haven’t seen

by Jean-Baptiste Jung. 19 Comments

When working with PHP, it is very useful to have a “toolbox” of handy functions and code snippets that can save lots of time when needed. Today, I’m going to show you 10 super useful code snippets that you probably never heard of.

10 super useful PHP snippets

by Jean-Baptiste Jung. 32 Comments

Having the right code snippet at the right time can definitely be a life saver for web developers. Today, I’ve compiled 10 really awesome PHP code snippets that will, I hope, be very helpful in your forthcomming developments.

PHP snippets to interact with Twitter

by Jean-Baptiste Jung. 27 Comments

Twitter is an awesome tool for website owners, and you should definitely integrate it into your website if you want to attract more traffic and new visitors. Today, let’s take a look at some PHP snippets to interact with Twitter.

PHP: Fast and easy SQL queries using ezSQL

by Jean-Baptiste Jung. 34 Comments

Nowadays, most websites and web applications are database driven, which means that you, the developer, have to query the database to get the requested information. Let’s take a look at a very useful tool to handle SQL queries easily and efficiently on small to medium projects.

10 life-saving PHP snippets

by Jean-Baptiste Jung. 62 Comments

In order to be efficient, a web developer should have a toolbox with code snippets he can use and reuse when needed. In this article, I’m going to show you 10 extremely useful PHP code snippets to add to your web developer toolbox.

10 PHP code snippets for working with strings

by Jean-Baptiste Jung. 38 Comments

Strings are a very important kind of data, and you have to deal with them daily with web development tasks. In this article, I have compiled 10 extremely useful functions and code snippets to make your php developer life easier.

10+ regular expressions for efficient web development

by Jean-Baptiste Jung. 27 Comments

In programming, regular expressions are a very useful tool designed to validate, search, and match text patterns. In this article, I have compiled more than 10 incredibly useful regular expressions, for any language, that will probably be very beneficial to you.