CoderZone.org

 Category: PHP Code

Bookmark and Share

Send Unicode Response From PHP - Send back text in Unicode from PHP
SEO string generator - This function will format a string to an seo-url-like string. It supports Latin, French ...
Server Stats via PHP - Get server stats on a web page in a nice display format.
Set/Get/Remove Cookies - Examples of setting, getting, and removing cookies.
Shorten URLs for a cleaner appearance. - This snippet makes nicer looking URLs by clipping the visible part. It...
Show current time as PNG-image - Code to display the current time as a .PNG image.
Show mySQL table as HTML - This example use mySQL functions from PHP to display a full mySQL table (every colum...
Show the current season (spring, summer, fall, winter) - Returns the current season (spring, summer, fall, winter)
Simple Averaging - A clearly written function that will get the average of numbers that were passed in.
Simple CAPTCHA using the GD Image Library - A basic CAPTCHA script that makes use the GD Image library.
Simple DB connection class - A simple DB connection class with all often used mySQL functions.
Simple directory viewer / browser - This script lists files in the same directory as the script is located. Dir...
Simple downloader script - A simple downloader script.
Simple image scaling - Simple way of scaling any image to fit either given width or height. If you are tired...
Simple one-line template engine - Very slick, very fast one-line template engine. Faster than Smarty. Items to ...
Simple reversible encryption - This is an example of encryption and decryption that uses the Mcrypt library.
Sine, Cosine, and Tangent - Easy way to get the Sine, Cosine, and Tangent.
Smart Word Wrap Function - This function will break up strings that don't have whitespace characters in them. I...
Split all chars in string - Split out all of the characters in a string.
Split URL into parts #1 - Decomposes a URL completely.
SQL Injection Filter - This function helps prevent SQL Injection attacks. This should be used for login functio...
Standard PayPal Payment Integration - A simple way to use PayPal for accepting payments online.
Stop Proxy Server Access - Halts most (but not all) proxy servers by detecting common "HTTP FORWARD" codes in t...
Storing images in a database - This tutorial teaches you how to upload images into a mysql database using PHP. ...
String to Date - Convert almost any English textual representation of a date into a timestamp.
Strip all non-alphanumeric characters - This code strips all non-alphanumeric characters (a through z and 0 thr...
Strip Comments From Code - Simple PHP one-liner to remove comments from code or text.
Strip HTML to Text - Strips tags, tables, etc and returns nice, clean text from HTML source.
Super Fast Prime Number Finder - Very fast, very efficient prime number finder. Informal testing shows it to be...
Super Simple Database Driven Web Site - Make a MySQL Database called "db" with a table named "variables" with t...

© coderzone.org | users online: 3