Test HTTP Requests Tools Blog Learn Quizzes Smile API Log In / Sign Up
Test HTTP Requests Tools Blog Learn Quizzes Smile API Log In / Sign Up
We have updated the website and our policies to make sure your privacy rights and security are respected.
Click here to learn more about the way our website handles your data.

Remove this message.

How to mix PNG files together while preserving their transparency, using PHP and GD Library

Difficulty: 30 / 50

Today we're going to learn how to use the GD Library to merge 3 or more png files into one while preserving transparency

We start with 3 png files that look like the ones below and what we want to achieve is a fourth image that represents the 3 initial png files one on top of the other, while preserving their transparency.

The tricky part when mixing png files is keep the transparency or alpha levels intact. To do that you need to know that when creating an image resource in PHP you have to make it "remember" the alpha state and fill the new resource with a transparency by using the imagecolorallocatealpha() function.

Read Full Article...

Ethereum mining on Ubuntu 16.04 with Nvidia GPUs

Difficulty: 20 / 50
mining-rig-poster-3

What is mining

You've probably heard legends about people making millions of dollars through a process called "mining" crypto-currencies.

In simple terms mining is the process through which, using raw computational power, transactions on some blockchains are validated. In return, the person who "rents" that processing power is rewarded with crypto coins.

Ethereum mining in particular is no different - One rents his multi-gpu machine and earns ETH in return.

I already heard you say "I want in!" so let me warn you: It's not that easy!

Read Full Article...

Becoming A Zend Certified PHP Engineer - A Career Changer For PHP Developers!


certification diploma

Everything you ever needed to know about the Zend PHP Certification

Daniel Gheorghe - Zend Certified PHP Engineer My name is Daniel, I started out writing PHP back in 2005 and earning my Zend PHP Certification has been one of my goals from the very beginning. It took me 10 years to feel confident enough to take the exam. During that time, I struggled to find quality information about the certification and the exam itself, so now that I finally did become a ZCE I thought that this article would help shed some light on the entire process.

Read Full Article...

3 solutions for sorting multidimensional arrays by child keys or values in PHP

Difficulty: 50 / 50
sorted lego pieces

One of the tasks that less experienced programmers find really difficult is to sort multidimensional arrays by one of the values in the child arrays. In today's tutorial I'm going to show you 3 ways of achieving that - you decide which ones seems easier for you and provides the best performance.

Read Full Article...

Using PHP to create new subdomains, databases and email accounts on a cPanel driven server

Difficulty: 30 / 50
control panel button

Many hosting providers use cPanel and this tutorial comes as a helper for those of you who need to manage various server aspects with PHP. I will show you how to create new sub-domains, databases and email accounts on a cPanel driven server, from your PHP code.

Read Full Article...

1 2 3 4 5 6 7 8 9 10