PHP Snippets

Every PHP developer needs a good and reliable collection of code snippets. In this category, you will find 900+ copy and paste code snippets that will help in your next PHP project.

Results via Envato Market

Very useful for creating multiple sizes of image urls from single images Creates a thumbnailed image based on info passed to it via get Images are cached on the server

Write a text to your image without altering the image itself Normally if you have an exclusive pictures you normally place your domain name as a symbol that you own

This small snippet just makes it possible to display the online-status of a ICQ-user account It is originally written to display the status in plain text but with a small

View online some statistics from your server. Only for Windows nt/2000/XP server running Apache or iss

This class is used to load an XML document into an associative array using xpat Each element is given a unique id within its element group and each element contains