Welcome To Snipplr


Everyone's Recent PHP Snippets



1 ... 136 137 138 139 140 ... 147
Fallback Function for versions earlier then php5
0 837 posted 17 years ago by razel
Fallback Function for versions earlier then php5
0 837 posted 17 years ago by razel
Fallback Function for versions earlier then php5
0 1027 posted 17 years ago by razel
In light of last nights tornado warnings here in TN, I thought it appropriate to post this little bit of code that I use to alert myself and others of dangerous weather conditions via SMS/Email alerts. I run this through cron at Dreamhost without...
9 1171 posted 17 years ago by johnself
PHP function that creates a mySQL INSERT statement for mime types. Type are extracted from a text file.
0 900 posted 17 years ago by fabian
need the magpie code
1 755 posted 17 years ago by fritz
The code below will format 2008-01-30 10:58:32 to Jan 30, 2008 See the page http://us2.php.net/date for a complete list of formatting codes.
2 1203 posted 17 years ago by meme
You have banners on your page for advertising? Then you have to randomize the order to be fair.
2 707 posted 17 years ago by HenLen
Remove excess whitespaces from string Remove espaços em branco em excesso de uma string
1 1017 posted 17 years ago by rafaelmt
0 669 posted 17 years ago by jaytee
1 1024 posted 17 years ago by AgentPhoenix
used as "http://www.somesite.com/index.php?xcr=page.php" page.php is plugged into the template index.php which hold the shell of a site.
0 1588 posted 17 years ago by withremote
0 991 posted 17 years ago by ecavazos
This snippet references the data access class I linked to.
4 1119 posted 17 years ago by ecavazos
This is a simple class to encapsulate CURD functions. This class also includes some simple search methods.
1 1070 posted 17 years ago by ecavazos
This function will return the height and width of an image that will change if the height/width is greater than the maximum supplied width and height.
2 862 posted 17 years ago by dmlanger
Function to retrieve all image files in a given directory
0 844 posted 17 years ago by coggla
0 1169 posted 17 years ago by coggla
2 795 posted 17 years ago by ajbatac
En la pagina hay mas info sobre otras funciones de validacion para php5
0 852 posted 17 years ago by lisandro
A simple but usefull smarty plugin to convert a unix timestamp to any date format. Usage: {$var|convertunix:"d-m-Y"}
2 1261 posted 17 years ago by FrankBr
3 1398 posted 17 years ago by DeadLy
Когда нет под рукой дебаггера, а всё-таки хочется посмотреть дамп массива или объекта, приходит на помощь print_r() в коде… да вот вид не оче...
0 849 posted 17 years ago by DeadLy
1 884 posted 17 years ago by Cory
2 1416 posted 17 years ago by Cory
Arbol usado para mostrar categorias dentro de una lista Cat1 ==subcat11 Cat2 ==subcat21 ====subcat211
0 809 posted 17 years ago by lisandro
1 ... 136 137 138 139 140 ... 147