Welcome To Snipplr


Everyone's Recent Snippets Tagged php



1 ... 49 50 51 52 53 ... 63
1 1865 posted 17 years ago by dsntos
2 2076 posted 17 years ago by iTony
2 2420 posted 17 years ago by iTony
1 2049 posted 17 years ago by iTony
Database backup function that you can call whenever you want — including nightly CRONs.
6 3445 posted 17 years ago by fackz
Let's you render your .nfo Files to PNG Images.
1 1482 posted 17 years ago by rizzn2k
This function clean up phone number and present it in styled way.
9 3195 posted 17 years ago by naz
This method is a bit faster and more reliable then using the "explode" method. Works with PHP 4.0.3 and up.
4 2436 posted 17 years ago by gdvickery
Very simple snippet to include if you want to auto update the year in a page copyright using PHP.
6 2341 posted 17 years ago by 1man
Outputs an image path from a defined directory.
2 2217 posted 17 years ago by dsntos
Explode de data para formato BR
0 1604 posted 17 years ago by wesleymacente
0 1800 posted 17 years ago by jonniespratley
0 1874 posted 17 years ago by jonniespratley
2 2190 posted 17 years ago by jonniespratley
1 1773 posted 17 years ago by jonniespratley
I am currently still working on this, and will make changes.
1 2039 posted 17 years ago by jonniespratley
Here is a simple method for displaying footer copyright year. This way at the end of the year you are not updating footers for the first 3 weeks in January :)
0 1746 posted 17 years ago by jadedbat
I use it when i've problems with permissions of user-uploaded files.
2 2028 posted 17 years ago by ping_ch
A simple to use framework for a contact form. This is missing some serious validation and such but is a good startin' point for any simple contact form. The input field named 'botty' is an input field we hide with css.. if data is sent to the ha...
7 3147 posted 17 years ago by jadedbat
AJAX by default only lets you play within your own Domain.com but there are plenty of times where you want to use someone else's feed. Check out http://snipplr.com/view/12466/jquery-parse-rss-feed/ to understand the rest.
1 1880 posted 17 years ago by chrisaiv
Simply create a new index.php and place this code within.
1 1678 posted 17 years ago by chrisaiv
18 12509 posted 17 years ago by sidisinsane
0 1889 posted 17 years ago by eden159
Here's a simple one liner you can use to syntax check all php files in your working directory.
0 1647 posted 17 years ago by endorfin
0 1934 posted 17 years ago by troynt
0 1594 posted 17 years ago by troynt
In my app, we have to auto-generate usernames for our users, here is the code I did.
2 2245 posted 17 years ago by luctus
To use href.in API to generate a short URL. using php curl
1 1786 posted 17 years ago by nerdsane
Figure out if the string possesses only hexadecimal characters in the string. If not, fail. Remember, white spaces are not hexadecimal, so make sure you trim() your strings before you send it in or explode your string.
0 2143 posted 17 years ago by duniyadnd
1 ... 49 50 51 52 53 ... 63