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
1547
posted 18 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
1773
posted 18 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
2136
posted 18 years ago by berkes
This is a code example which demonstrates how to send Email with attachment using your GMAIL Account.
6
2352
posted 18 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
8591
posted 18 years ago by johnself
https://www.chrisjmendez.com/2008/02/11/as3-regular-expression-basic-example/
0
1759
posted 18 years ago by chrisaiv
This makes it easy to retrieve certain value from a url with different values appended to it.
0
1779
posted 18 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
1955
posted 18 years ago by micmath
This would make IE treat the hover element in whichever tag you implemented.
0
1045
posted 18 years ago by iTony