Profile
Achievement
leonelsantos's Recent Snippets
- All /
« Prev 1 Next »
A class for uploading images and creating thumbnails.
Example:
try{
$img = new img('photo');
if($_FILES['photo']['size']>=1000000){
exit('The file size of the file you are trying to upload is over limit.
Your file size = '.$_F...
2
990
posted 14 years ago by leonelsantos
For more information, see php.net, under usort
It works with dates
Replace 0 for the array's key you want to sort. For example, if you have a start_date array key you would like to compare, then you would replace 0 for start_date.
If you wan...
0
936
posted 15 years ago by leonelsantos