Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged php



1 ... 22 23 24 25 26 ... 58
Though an old post, this is my solution that's been pieced together from various comments on the article linked above.
1 1334 posted 13 years ago by beneberle
Pertenece al tutorial publicado por COLORATE --> http://www.colordeu.es/BLOG/registros-de-usuario-en-php-y-mysql-con-validacion-de-campos-y-activacion-por-mail
0 1372 posted 13 years ago by danideu
Pertenece al tutorial publicado por COLORATE --> http://www.colordeu.es/BLOG/registros-de-usuario-en-php-y-mysql-con-validacion-de-campos-y-activacion-por-mail
0 1106 posted 13 years ago by danideu
Pertenece al tutorial publicado por COLORATE --> http://www.colordeu.es/BLOG/registros-de-usuario-en-php-y-mysql-con-validacion-de-campos-y-activacion-por-mail
0 1278 posted 13 years ago by danideu
replaced taxonomy = 'category' with taxonomy = '".myTAXONOMY."' add lines 51, 52, 93 - 123
0 1473 posted 13 years ago by Ijaas
I have to migrate from my old Drupal 5 site, that had multiple authors assigned to one node, and this is the solution for __Drupal 7__. First of all you will need to download [__References__](http://drupal.org/project/references) module and ena...
1 845 posted 13 years ago by Turek
1 1080 posted 13 years ago by tudisco
I needed a way to generate some random strings for passwords, a number of methods seemed a little over the top so below is my simplified version that does the trick. I have set it to use non-confusing characters, so no i's, l's, 0's but very easy to...
0 797 posted 13 years ago by motlive
2 932 posted 13 years ago by simondiercks
## Benefit To notify visitors that the current post they are viewing is an old post. Suitable for Blog / Website that provide timely articles
0 817 posted 13 years ago by firewalker06
0 866 posted 13 years ago by pickyj
0 989 posted 13 years ago by rstandley
Inserts WordPress shortcode outside the loop in a template
1 637 posted 13 years ago by primitiveshaun
5 1277 posted 13 years ago by pickyj
0 694 posted 13 years ago by stephcode
I'm using this out of laziness. PHP is slowing things down here, since it's not as close to C as XPath. A better solution would be to have an attribute specifically for search purposes (either in upper or lowercase).
0 813 posted 13 years ago by iroybot
simple one minute, you must have whois on your system
1 545 posted 13 years ago by exu
A simple one page form with attachment that is meant to go straight to the email and not uploaded to the server. Emails an HTML version, a PlainText version and the attachment if there is one.
4 1263 posted 13 years ago by StevenW721
This help you cutting text without cut the last word. Any feedback appreciated!
0 645 posted 13 years ago by alesma
0 635 posted 13 years ago by jurajsim
0 1649 posted 13 years ago by alik
'container' => ' ' -- removes the container div
1 893 posted 13 years ago by adambundy
I thought this was pretty elegant code and wanted to share it with anyone who found it useful.
0 786 posted 13 years ago by mattneary
// example <br> $from = '2011-1-6'; <br> $to = '2011-1-8'; <br> dateDiff($from,$to); // returns 2
1 925 posted 13 years ago by klovera
0 739 posted 13 years ago by drifterz28
0 730 posted 13 years ago by danhanly
I got the answer to this question on WordPress Stack Exchange website: http://wordpress.stackexchange.com/questions/6931/is-there-a-wordpress-function-that-i-can-use-to-retrieve-the-current-page-that-is
0 1410 posted 13 years ago by racl101
1 ... 22 23 24 25 26 ... 58