this snippet will create a drop down menu from an array list.
Very common, people wanting to perform an action on many items. This will perform the action of deleting many files.
This shows how to load a specific file into the page by clicking on a link.
Take a text file and display an image on certain days (such as a holiday logo).
This will display the files size, instead of displaying the size in bytes, why not display GB, MB, KB or bytes as well.
Is your server in some other timezone, and date functions display the date in another time? use this code to change that, to any timezone you would like.
Do you display data from a database, but your table is one row? Fix that by using this code to make your data more than one row for readability.
This function will take a string and find the domain name of that string.
This short tutorial will demonstrate how to convert a static CSS style sheet to a dynamic style sheet.
Searh a database, and sort the results using page numbering to split up the data.
This simple snippet will help new PHP users learn how to create and use a variable.
Detect whether a a specific date is a holiday.
Uploader Features: 1. Upload multiple files. 2. Checking file types and extension. 3. Create upload fileds dynamically with simple jquery code. 4. Upload and instant preview of your uploaded images. 5. CodeIgniter Module Available . 6. User friendly, easy to setup and customize. 6. Tested in popular browsers like Mozilla Firefox, Chrome, Internet Explorer. 7. Source code is free to download. Source Code(PHP) http://demos.coolajax.net/download/multiple_file_upload.zip Source Code(CodeIgniter) http://demos.coolajax.net/download/CodeIgniter_Image_Uploader_Modules.zip
This class is designed to be the interface class with a database (e.g MySQL). This is currently setup to use SQL syntax however can be changed if needed in future for a different type of database technology. Using this class will save a lot of programming if a change was needed. Has 3 main types of user accounts on construction for database privileges (readWrite, readWriteCreate, readOnly). Functions include query, insert, update, delete, number etc (have a look at the code :) )
Download files from nearly all websites!
It shows the date and the current time in Ukraine and Poland
with the help of the for loop I created a table.
Connects to a database, and runs a query
Add this yournamehere.html file to any directory holding your images and display them in a pretty good picture.
Allows you to change something on a daily basis using just php.
Check a date range to see if it overlaps another saved date range.
This function will calculate the distance between point A (latitude, longitude) and point B (latitude, longitude) returning a distance in miles.