Welcome To Snipplr
Everyone's Recent Snippets Tagged php
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This will count sentences that end in . or ? or ! and have a space after them.
1
2770
posted 17 years ago by evanwalsh
Allow for easier editing of content by users who didn't make the site.
1
1101
posted 17 years ago by EvanL
在UTF-8的編碼下縮減å—串並é¿å…䏿–‡å—串最後一個å—變亂碼
0
2692
posted 17 years ago by multani
Recursively SVN rename (move) all thtml-files to ctp-files . Fires this up in CakePHPs /views path.
0
1473
posted 17 years ago by zingo
This was taken out of a presentation by eZ systems on PHP Best Practices
0
1304
posted 17 years ago by luizlopes
this function was provided to me by my partner in crime......thanks superchicken
0
1058
posted 17 years ago by bsisco
Any time I make PHP applications that interact with a database, I use this script. It generates one or more self-populating "View Objects" (a class that represents a single record from a DB). For example, rather than access a MySQL record-set by arra...
1
1471
posted 17 years ago by donkawechico
Very minimal. Some homegrown API seeds from a while ago. Just posting for use as some php examples.
0
1259
posted 17 years ago by mandric
Este script calcula la edad en años a partir de una fecha dada y la resta con la actual.
0
1206
posted 17 years ago by isaac
Fecha en formato dd/mm/yyyy o dd-mm-yyyy retorna la diferencia en dias
0
1339
posted 17 years ago by isaac