Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
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
1383
posted 17 years ago by cyo
A per-region override.
ogt_blocks is ran for a region, if a region contains blocks, we search for a theme function named theme_region_regionname(). If exists, we run that, else we just return the concatenated blocks for that region.
1
1607
posted 17 years ago by berkes
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
1898
posted 17 years ago by berkes
This is a code example which demonstrates how to send Email with attachment using your GMAIL Account.
6
2100
posted 17 years ago by planetcall
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
8137
posted 17 years ago by johnself
https://www.chrisjmendez.com/2008/02/11/as3-regular-expression-basic-example/
0
1592
posted 17 years ago by chrisaiv
This makes it easy to retrieve certain value from a url with different values appended to it.
0
1603
posted 17 years ago by iTony
There may be an easier way to do this, but if there is I can't find it. This sets the svn property $Id$ of every javaScript file in the app/lib directory.
0
1750
posted 17 years ago by micmath