Tools Blog Learn Quizzes Smile API Log In / Sign Up
Tools Blog Learn Quizzes Smile API Log In / Sign Up
We have updated our privacy policy to let you know that we use cookies to personalise content and ads. We also use cookies to analyse our traffic and we share information about your use of our site and application with our advertising and analytics partners. By using this website or our application you agree to our use of cookies. Learn more about the way this website uses cookies or remove this message.

Still running PHP on Windows XP or Windows 2003 ? Make the switch today

August 3, 2014

This article is meant as a heads up for all those who are running PHP on Windows XP or Windows Server 2003.

As of PHP 5.5 The PHP Group has dropped support for the above mentioned operating systems. Although I don't see why anyone would run PHP on a Windows machine, I know that there are a lot of servers out there that function with these technologies.

Read Full Article...

Create a tar ball of your recent github commits with PHP

July 31, 2014 Difficulty: 35 / 50

In this tutorial I will show you how to use the "git log" command to create a list of files that have been modified in the last X number of git commits and pack them into a tar ball. This can be very useful for cases when you want to send code updates to a client but you don't have access to their server and they don't want to pull the changes from Github.

Read Full Article...

Positioning divs side by side with CSS

July 25, 2014 Difficulty: 15 / 50
aligned benches in a park

In this tutorial I will show you the easiest method of positioning HTML divs side by side thus generating a multi-column layout with ease. The only downside for this code is that it doesn't work on IE7, because it doesn't know how to interpret the 'box-sizing' CSS rule.

Read Full Article...

4 different ways of changing the appearance of multiple matched elements with JavaScript or jQuery - Demo and Performance Benchmark

July 24, 2014 Difficulty: 25 / 50
the right tool for each job

Recently I have been doing some front-end development for one of my California based clients. Among other things, I had to apply a few performance tweaks to the existing code and I thought it would be a good idea to write an article on the topic. When coding there is no single solution to solve all problems it's more a matter of choosing the right tool for the right job.

The client had over one hundred product containers on the same page and he wanted to change the appearance of all containers except the one the visitor was hovering on.

Read Full Article...

is_null vs empty vs isset... One lesson all PHP coders should learn

July 12, 2014 Difficulty: 25 / 50
empty tin can

PHP has a lot of ways of dealing with variable checking. There are functions that check each type like is_array, is_object or is_bool and there are functions that can be used to check multiple conditions at once. Today we will be dealing with the differences between is_null(), empty() and isset(). First let's explain what each one does.

Read Full Article...

3 4 5 6 7 8 9 10 11 12 13
Better Docs For A Better Web - Mozilla Developer Network

Alerts

2017-02-16 - The bcpowmod function in ext/bcmath/bcmath.c in PHP before 5.5.35, 5.6.x before 5.6.21, and 7.x before 7.0.6 modifies certain data structures without considering whether they are copies of the _zero_, _one_, or _two_ global variable, which allows remote attackers to cause a denial of service or possibly have unspecified other impact via a crafted call. Read more ...
2017-02-16 - The grapheme_strpos function in ext/intl/grapheme/grapheme_string.c in PHP before 5.5.35, 5.6.x before 5.6.21, and 7.x before 7.0.6 allows remote attackers to cause a denial of service (out-of-bounds read) or possibly have unspecified other impact via a negative offset. Read more ...

See All Entries...