Welcome To Snipplr


Everyone's Recent PHP Snippets



1 ... 74 75 76 77 78 ... 147
0 1466 posted 15 years ago by resting
1 1419 posted 15 years ago by resting
2 1498 posted 15 years ago by traeregan
This can be dropped into either index.php or any custom page template to display posts in the "Featured" category. Alternatively you could create a custom loop (loop-featured.php, for example) using this query.
1 1262 posted 15 years ago by mike_fowler
1 1581 posted 15 years ago by bobbym245
A PHP proxy for jQuery AJAX cross-domain requisitions, created to support friendly-url API\\\\\\\'s.
3 2095 posted 15 years ago by hisamu
This function is usefull and simple, specially when u create users databases
1 2651 posted 15 years ago by zenco
0 1035 posted 15 years ago by crishnakh
2 2912 posted 15 years ago by stamba
0 1311 posted 15 years ago by screamwork
Hier bepaal je de layout voor de members login
1 1462 posted 15 years ago by danworx
O envio de emails deve ser feito de modo autenticado, utilizando o smtp do servidor. Este script é um exemplo de envio desta forma, usando a classe phpmailer para isso.
0 1394 posted 15 years ago by gpupo
1 1128 posted 15 years ago by metoikos
I\'m definitely not the best at Regex. But this function seems to be timing out, and adding like 4o links to the post. Got any ideas?
0 1649 posted 15 years ago by thefrosty
3 1484 posted 15 years ago by sb_01
This is a simple bit of code that allows you to do a write once date format in a PHP style date() format and convert it to be used by datepicker jQuery UI widget. It returns the converted string.\r\n\r\nNothing fancy here, but a time saver for the f...
1 2227 posted 15 years ago by roblynch
searching for a date sort function I found: http://slevy1.wordpress.com/2010/06/30/sorting-date-strings-in-php/ and built my codeigniter helper call : $arrSortedDates = bubbleSort( $unsorted ); (previous->helper autoload)
0 1332 posted 15 years ago by lluisr
The following function does a very simple check on the supplied string to help ensure it is a valid email address.
0 1618 posted 15 years ago by jprochazka
The following function validates and returns TRUE or FALSE if the supplied string could be a valid domain name format.
2 1771 posted 15 years ago by jprochazka
A simple example of how to send an email using PHP's build in mail() function.
0 1331 posted 15 years ago by jprochazka
Definitivo. Errore bassissimo.
2 1905 posted 15 years ago by tuffo19
First you have to add a custom value with a correct date format. The lines: `AND CAST(wpostmeta.meta_value AS DATE) > '".date("Y-m-d H:i:s")."' AND CAST(wpostmeta.meta_value AS DATE) < '".date("Y-m-d H:i:s", $date2)."' ` are only used to select d...
0 2173 posted 15 years ago by Mat_
1 1606 posted 15 years ago by Mat_
1 1461 posted 15 years ago by CJness
0 1139 posted 15 years ago by CJness
This class is used to convert any WYSIWYG text to flash friendly text. Hope you people would like that.
0 1352 posted 15 years ago by aamirrajpoot
1 ... 74 75 76 77 78 ... 147