New Code
Redirect to Another Directory in .htaccess 0.0.1
Calculate Age Using a Birth Date 0.0.1
Compress Mltiple CSS Files 0.0.1
Error Logging in .htaccess 0.0.1
Change Image Properties 'On-The-Fly' 0.0.1
Creating and Parsing JSON Data in PHP 1.0
PHPShortener 0.3
MoxieLogger 1.0
EasyPhpThumbnail Class 2.0.3
XML_XSLT2Processor 0.5.3
UberVU php library 1.1
Unzip a Zip File 0.0.1
EasyPhpEventCalendarPro Class 1.0.1
MoxieCompressor 1.0.1
Get Remote IP Address in PHP 1.0.0
Top Code
Get Remote IP Address in PHP 1.0.0
Get the title of a page
Loading JavaScript Arrays with MySQL Data
Open Source licensing for PHP scripts
PHP & Java
Hightlight or Censor words in PHP
Creating and Parsing JSON Data in PHP 1.0
Simple Localization with PHP
Exec and system command and results
Create an LDP Addressbook
Error Logging in .htaccess 0.0.1
Binary Cloud: The Opensource Platform for PHP Web Applications
Compress Mltiple CSS Files 0.0.1
Calculate Age Using a Birth Date 0.0.1
PHP > Tips and Tutorials > Miscellaneous
All | Freeware

Code 1-20 of 37   Pages: Go to  1  2  Next >>  page  

This example shows you how to create redirection o another directory. It may be usefull, for example, when you have a project, placed in sub-directory.

This function gets birth date as an argument and it returns the age of the person; it's very useful when building communities or social media sites.

Usually when you're using different CSS files on your site, they might take a quite long to be loaded. Using this PHP code, you can compress them into a single file with no unnecessary white spaces or comments. Why we need to compress multiple CSS...

This example shows you how to log errors to a file, and prevent showing them to the user. Make sure that the file exists and you're able to write to it.

Sometimes you may need to change image properties 'on-the-fly'. The best example is when you want to display blog post short description, retrieve the first image and try to turn it into the thumbnail: change some properties and add a special...

This code demonstrates how to create and parse the JSON data format of using array of PHP. It's a very simple code, that allows you to perform this task.

PHPShortener is a class that makes it easy to encode and decode short URLs. It can turn into and viceversa. Currently it supports the 5 most popular shortening services.


* Easy to...

MoxieLogger is a minimalistic logging package for PHP it contained in one class but it still has some powerful features.


* Log levels.
* Log rotation.
* Message format configuration.
* File name...

The EasyPhpThumbnail Image Effects class allows you to handle image manipulation and PHP thumbnail generation for GIF, JPG and PNG on-the-fly. The class is FREE, 100% PHP based, available for PHP4 (from 4.3.11) and PHP5, is easy to use and...

XML_XSLT2Processor is a PHP class that allows you to perform XSLT 2.0 transformations within PHP by using SAXON or AltovaXML. All with the ease of the PHP XSL extension. Documentation is available from the project's Wiki.

The uberVU Web Services API is accessed and requests to execute several types of operations are sent.

Currently it can add one or more URLs to be tracked and also get information about a previously added URL.


This code allows you to Unzip a ZIP file with PHP.

The EasyPhpEventCalendar class allows you to display a clean, easy to integrate, easy to use and easy to navigate event calendar for your website. It will display events up to 12 months in the future. The event itself can be styled and formatted...

MoxieCompressor is some PHP classes for compressing javascript and CSS files using gzip. It will compress multiple files into one big minified and gzip compressed request. It will also set a far future expires header so it remains in browser cache...

This code allows to get the IP address from which the user is viewing the current page.

ViewSource, a PHP based tutorial script that describes how to make a source page visible to the visitors / users. Also, enables you to view the source code page of others. You can done this function with a single PHP command...

The Template class vlibTemplate describes the need to seperate PHP and HTML from an entire source with examples. PHP session can be used for the PHP developers to make modification / updation with it where HTML lets the designers to format the...

Staffing Software is an useful tutorial dealing with staffs and their management. Using this article you can track all your existing staffs, their resumes and their work flow. The author explains users about the method of integrating staff...

Split an array to many pages is a PHP oriented tutorial tool that helps you to design your array based contents page on your PHP website. You can include numerous page to display the aricles. And it allows you to define maximum number of entity...

This tutorial tells how to create easy naviagation system for your website using PHP. PHP gives all the tools like, while loops, math operators for adding and subtracting for developing website navigation. Extended server side include(XSSI) is...