Welcome To Snipplr


Everyone's Recent PHP Snippets



1 ... 114 115 116 117 118 ... 147
This is a slightly hard core email check. I work for clients that want real email addresses. They pay quite a bit of money so yes, I am going to give what they want...
3 837 posted 15 years ago by brownrl
Face it! Whenever you make a website/app you always need to make XLS export for the simple people. I mean heaven to betsy if they have to take a csv file, or use phpMyAdmin. So Here are 3 little functions and a sample skeleton that I use fro...
6 1262 posted 15 years ago by brownrl
Memory leakage in IE6/7 if the event handlers are not purged before deleting an element.
0 789 posted 15 years ago by iTony
2 838 posted 15 years ago by sveggiani
This is a long over due update to my db insert building function. Please not that the function is the important part the code below is just prove that it works... l:-)
1 670 posted 15 years ago by brownrl
Some PHP code that can be used to get formatted HTML containing N number of tweets for a given twitter user.
5 1240 posted 15 years ago by gripnrip
In this Thesis WP tutorial for multiple custom page templates, we find code for making a custom homepage template as well.
2 823 posted 15 years ago by mlangfeld
This code to be added to custom_functions.php May also need to add to custom.css to style your custom widget. (This code found towards the end of the article).
2 873 posted 15 years ago by mlangfeld
this script splits the csv file two times (1. on "new line", 2. on ";") and returns a two dem array in the last for loop.
2 810 posted 15 years ago by antpaw
This creates a custom HTML header in Thesis with a logo and an advert section (to be used instead of CSS image replacement). Example CSS to use with it: .custom #header:after {content:"."; display:block; height:0; clear:both; visibility:hidden;...
5 916 posted 15 years ago by kristarella
2 674 posted 15 years ago by psynaptic
1 749 posted 15 years ago by websuslik
This is a good way to validate form input from PHP, in essence this could be a blue print for your forms.
5 944 posted 15 years ago by brownrl
This is a short and sweet snippet that will save the users form input after PHP runs validation and returns false. Very good for User Experience!
0 752 posted 15 years ago by montanaflynn
Template Tag body_class The coming WordPress 2.8 provides a new Template Tag, body_class. This function gives the body element different classes, which gives you the possibility to use it effectively with CSS.
3 611 posted 15 years ago by jessibird
1 686 posted 15 years ago by vali29
0 551 posted 15 years ago by wokon
Construct DateTime object with unix timestamp
0 757 posted 15 years ago by iloveitaly
Example Running: alphaID(9007199254740989); will return 'PpQXn7COf' and: alphaID('PpQXn7COf', true); will return '9007199254740989' Easy right?
1 1137 posted 15 years ago by localhorst
0 613 posted 15 years ago by stancell
Taken from Doug Sparling's Blog
0 548 posted 15 years ago by roflman79
1 938 posted 15 years ago by StrawMan
3 845 posted 15 years ago by iTony
Use to get all database results on a SQL query
0 747 posted 15 years ago by erichelgesen
Use this to generate a select box
1 732 posted 15 years ago by erichelgesen
1 654 posted 15 years ago by Eloi
1 ... 114 115 116 117 118 ... 147