Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged c



1 ... 41 42 43 44 45 ... 147
Allows you to display a look like 5 days ago.
0 1743 posted 14 years ago by paulund
Selecciono los post por categoría desde la base de datos de wordpress
0 1548 posted 14 years ago by serialk89
Returns the same string, except with links wrapped in <a href=""> tags. Works on www.snipplr.com and on http://snipplr.com A variation of the script on the attached URL.
0 2592 posted 14 years ago by nebojsac
Takes the seconds, and returns minutes. Will wrap it in a function is anyone is interested. Example: 92s -> 1m 32s
0 2017 posted 14 years ago by nebojsac
0 1342 posted 14 years ago by prianto
0 1602 posted 14 years ago by raz
0 1174 posted 14 years ago by tcelestino
Full email validation with regex.
0 3434 posted 14 years ago by nebojsac
The function returns the "sanitized" version of user input. Use before putting variables into SQL code.
0 1642 posted 14 years ago by nebojsac
This piece of code is at least ten years old and I don't remember exactly, where I have found it. Probably it had been stolen from my friend VeZyR;)
0 2492 posted 14 years ago by michaJlS
0 1508 posted 14 years ago by kbrown
Resize and image to fit a predetermined canvas size
0 2115 posted 14 years ago by flatearthcomms
If you have Zend_Navigation in your application, you will use navigation.xml. This code set the page title ($this->view->headTitle()) with the current page title in navigation.xml. $navigation->current() doesn't work in my opinion.
0 2868 posted 14 years ago by postNuKe
0 2306 posted 14 years ago by jigante
0 1345 posted 14 years ago by alp
0 1348 posted 14 years ago by alp
0 1524 posted 14 years ago by alp
1 ... 41 42 43 44 45 ... 147