Welcome To Snipplr


Everyone's Recent Snippets Tagged php



1 ... 56 57 58 59 60 ... 63
1 1754 posted 18 years ago by jesse
This is the basic edit action suggested by the CakePHP Manual
1 1722 posted 18 years ago by jesse
This snipped is split in two sections: Actionescript 3 and PHP
2 2158 posted 18 years ago by gfazioli
0 1600 posted 18 years ago by iTony
1 1657 posted 18 years ago by soxiam
It gets images randomly from folder that you've pointed.
4 3367 posted 18 years ago by skywalker
4 2303 posted 18 years ago by mswallace
This function can validate and parse UK postcode like SW1A 1AA in to formated array.
2 2725 posted 18 years ago by naz
This will always show the correct date... so it'll say "Copyright 2008 Comapany Name" now, and at exactly midnight on 1st January 2009, it'll say "Copyright 2009 Company Name". Simple!
2 2281 posted 18 years ago by tigercore
A small function I made to chmod directories and files recursively, with different permissions.
2 2865 posted 18 years ago by Tenzer
Stolen from the mentioned URL - this is used to make SPRY Framework work together with MYSQL.
2 2513 posted 18 years ago by Nils
1 3573 posted 18 years ago by dbug13
0 1901 posted 18 years ago by Wiederkehr
The PHP Code appears in Post Comments
4 3469 posted 18 years ago by localhorst
0 1450 posted 18 years ago by chucktrukk
0 1519 posted 18 years ago by chucktrukk
2 1969 posted 18 years ago by dbug13
Il suffit de créer une page PHP et y placer un phpinfo() ou si vous avez accès au serveur en ligne de commande (Putty, WinSCP, ...), vous pouvez tapez cette commande. Dans l'exemple, nous souhaitons savoir si l'extension openssl est présente et no...
0 1933 posted 18 years ago by cyo
An easy debug trick: gives you a variable that you can print in any tpl.php to find out what vars you have available there.
1 2630 posted 18 years ago by berkes
CSS files for larger sites can become pretty large themselves. Gzipping or compressing these files has shown to provide a reduction in the neighborhood of 70-80% of the original file size, a fairly significant 'weight loss'.
16 9877 posted 18 years ago by johnself
2 2463 posted 18 years ago by evanwalsh
Fallback Function for versions earlier then php5
0 1824 posted 18 years ago by razel
Fallback Function for versions earlier then php5
0 1703 posted 18 years ago by razel
Fallback Function for versions earlier then php5
0 2073 posted 18 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 2674 posted 18 years ago by johnself
PHP function that creates a mySQL INSERT statement for mime types. Type are extracted from a text file.
0 1824 posted 18 years ago by fabian
1 ... 56 57 58 59 60 ... 63