Simple class that supports reading sections, single values, and arrays from INI files.
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.
Binary search algorithm function Takes an array as an argument and the element to be searched for in the array Returns ‘ ‘ if found ‘ ‘ if not The
A Very Simple No-SQL User login It is two pages How to add more users is included There is no protection so make a folder with a funky name or
Entire shopping cart which does not rely on cookies It uses a MySQL database for storing product data as well as shopping cart data Right now it’s a rough and
This script takes a height width start color and end color In hex and generates a vertical gradient jpeg using GD The script is written so it can be called
This script can be used to send mails from text entered in a form.. It is sent in HTML format.
File editor. It’s a short code, so don’t worry about the length.
This is a script that will allow you to view any website from anywhere except all the data will come from you server’s ip not the site you are browsing
If you want to get the different arguments out of a comma seperated value line then this snippet is your right choice. it understands quoted arguments and escaped quotes.
I was using symfony’s sfMixer class Thought why not create one’s own This class mixes different object and u can call methods on the component objects see demo class Priority