Welcome To Snipplr


Everyone's Recent Snippets Tagged php



1 ... 57 58 59 60 61 ... 64
The PHP Code appears in Post Comments
4 1115 posted 15 years ago by localhorst
0 301 posted 15 years ago by chucktrukk
0 318 posted 15 years ago by chucktrukk
2 518 posted 15 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 509 posted 15 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 595 posted 15 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 1442 posted 15 years ago by johnself
2 540 posted 15 years ago by evanwalsh
Fallback Function for versions earlier then php5
0 417 posted 15 years ago by razel
Fallback Function for versions earlier then php5
0 439 posted 15 years ago by razel
Fallback Function for versions earlier then php5
0 582 posted 15 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 604 posted 15 years ago by johnself
PHP function that creates a mySQL INSERT statement for mime types. Type are extracted from a text file.
0 487 posted 15 years ago by fabian
need the magpie code
1 393 posted 15 years ago by fritz
Add this to your .htaccess file in Apache:
7 676 posted 15 years ago by Abe
2 471 posted 15 years ago by halbtuerke
You have banners on your page for advertising? Then you have to randomize the order to be fair.
2 379 posted 15 years ago by HenLen
Remove excess whitespaces from string Remove espaços em branco em excesso de uma string
1 582 posted 15 years ago by rafaelmt
This snippet references the data access class I linked to.
4 647 posted 15 years ago by ecavazos
This is a simple class to encapsulate CURD functions. This class also includes some simple search methods.
1 580 posted 15 years ago by ecavazos
Когда нет под рукой дебаггера, а всё-таки хочется посмотреть дамп массива или объекта, приходит на помощь print_r() в коде… да вот вид не оче...
0 423 posted 15 years ago by DeadLy
1 473 posted 15 years ago by Cory
2 846 posted 15 years ago by Cory
Arbol usado para mostrar categorias dentro de una lista Cat1 ==subcat11 Cat2 ==subcat21 ====subcat211
0 452 posted 15 years ago by lisandro
This function allows you to limit the amount of a string, like a sample from a post. Create a file like function_lmt_txt.php and include it to use it. Any comments to improve this are welcomed.
1 430 posted 15 years ago by bioascii
6 634 posted 15 years ago by LoRd1990
1 ... 57 58 59 60 61 ... 64