Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
list the exceptions where you don't want to replace in the rewrite rules before the one that matches the underscore, and finish them with [L], otherwise they'll get replaced too.
[N] means rerun the whole replacing stuff once the line matched... c...
0
2218
posted 17 years ago by eszpee
When Apache under OS X throws 'Forbidden' errors on files under the ~/Sites path, and the error log report 'Permission denied: access to /somefile/blah failed because search permissions are missing on a component of the path', check a missing Other E...
1
1753
posted 17 years ago by cczona
En la pagina hay mas info sobre otras funciones de validacion para php5
0
1208
posted 17 years ago by lisandro
Found this quick little bit of code on the Google jQuery discussion group. It simply fades the background image of a link you have hovered over to a certain color, then fades it back to the original color.
4
1404
posted 17 years ago by 1man
A very dynamic and flexible bash prompt. Personally I find this to have everything needed. It shows exit status, shortens itself for long directories, and shows bash history for easy referencing.
Hopefully it doesn't get messed up.
2
1478
posted 17 years ago by robh
This is to prevent a form from being inadvertently submitted.
0
1297
posted 17 years ago by ecavazos
There may be a simpler way to do this but this is the only way I could find to solve this problem. There is no Add method for basic arrays.
2
1499
posted 17 years ago by ecavazos
A simple but usefull smarty plugin to convert a unix timestamp to any date format.
Usage: {$var|convertunix:"d-m-Y"}
2
2035
posted 17 years ago by FrankBr
Use this for background images. Put it in conditional comments in the head of your doc.
3
1663
posted 17 years ago by shellydennison
Когда нет под рукой дебаггера, а вÑÑ‘-таки хочетÑÑ Ð¿Ð¾Ñмотреть дамп маÑÑива или объекта,
приходит на помощь print_r() в коде… да вот вид не оче...
0
1144
posted 17 years ago by DeadLy
All you need todo in order to use this is just to add it to your path
0
1367
posted 17 years ago by narkisr