Welcome To Snipplr
Everyone's Recent Snippets Tagged php
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Allow for easier editing of content by users who didn't make the site.
1
1243
posted 17 years ago by EvanL
在UTF-8的編碼下縮減å—串並é¿å…䏿–‡å—串最後一個å—變亂碼
0
2965
posted 17 years ago by multani
Recursively SVN rename (move) all thtml-files to ctp-files . Fires this up in CakePHPs /views path.
0
1650
posted 17 years ago by zingo
This was taken out of a presentation by eZ systems on PHP Best Practices
0
1496
posted 17 years ago by luizlopes
this function was provided to me by my partner in crime......thanks superchicken
0
1189
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
1660
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
1432
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
1426
posted 17 years ago by isaac
Fecha en formato dd/mm/yyyy o dd-mm-yyyy retorna la diferencia en dias
0
1506
posted 17 years ago by isaac
This changes the date format from y-m-d to d-m-y on PHP. It's easy to change the - to / or spaces...
0
2726
posted 17 years ago by isaac
This changes the date format from d-m-y to y-m-d on PHP. It's easy to change the - to / or spaces...
1
3014
posted 17 years ago by isaac