Welcome To Snipplr
Everyone's Recent Snippets Tagged php
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
The “2>&1″ bit tells to pipe the standard error to the standard output. Otherwise the standard error may not be outputted by the system and you won’t have a way to troubleshoot your script.
2
595
posted 14 years ago by jdstraughan
A simple method of validating an IP address using PHP and regular expressions
2
2342
posted 14 years ago by aristoworks
This is a simple method of validating a 9-digit zip code using PHP and regular expressions
3
1766
posted 14 years ago by aristoworks
A simple method of validating an email address using PHP and regular expressions
4
911
posted 14 years ago by aristoworks
A simple method of validating a telephone number using regular expressions and PHP
3
1024
posted 14 years ago by aristoworks
This is like a cms for a stylesheet - includes all files to make a working xhtml/css demo
1
470
posted 14 years ago by perthmetro
This will count sentences that end in . or ? or ! and have a space after them.
1
1531
posted 14 years ago by evanwalsh
Allow for easier editing of content by users who didn't make the site.
1
394
posted 14 years ago by EvanL
在UTF-8的編碼下縮減å—串並é¿å…䏿–‡å—串最後一個å—變亂碼
0
757
posted 14 years ago by multani
Recursively SVN rename (move) all thtml-files to ctp-files . Fires this up in CakePHPs /views path.
0
643
posted 14 years ago by zingo
This was taken out of a presentation by eZ systems on PHP Best Practices
0
463
posted 14 years ago by luizlopes
this function was provided to me by my partner in crime......thanks superchicken
0
418
posted 14 years ago by bsisco