Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
the POSIX Regex functions are deprecated in PHP 5.3.0 and removed in PHP 6.
http://us2.php.net/manual/en/function.eregi-replace.php
0
696
posted 12 years ago by dubogii
Still problematic...
1. The source of the iframe content must reside on the same domain
2. if the content inside the iframe changes height, this won't adapt
3. I left Google Analytics code off the demo above, as when I added it in it seems to in...
1
832
posted 12 years ago by dubogii
Ever wanted to execute remote commands with sudo while redirecting output to a file that doesn't belong to the user you login with? Combine single quotes with double quotes!
0
508
posted 12 years ago by nohn
A simple C# function to take a standard DateTime and convert it to a pretty string saying how many seconds/minutes/days/weeks/months ago the date was, it doesn't return an actual date, but that wouldn't be hard to change the month/week/day section to...
2
692
posted 12 years ago by Maelstrom
this creates a function inside a widget object to create a dropdown menu with all the custom post types created in wordpress functions.
0
680
posted 12 years ago by hugosolar