Welcome To Snipplr


Everyone's Recent Snippets Tagged php



1 ... 53 54 55 56 57 ... 64
1 793 posted 15 years ago by ghwilson4456
The right way to send a mail with POST params
2 663 posted 15 years ago by gfazioli
This is saved from Gerhard Slettens weblog www.gersh.no. I just want yo keep it on snipplr so it easily can be fetched through textmate.
15 1961 posted 15 years ago by stavelin
0 1336 posted 15 years ago by Paco
Pre-selects an html form with a requested value... ie; editing a form from a database
0 618 posted 15 years ago by davidsword
it needs the GD2 library
5 721 posted 15 years ago by iTony
an array of US states
0 716 posted 15 years ago by benrasmusen
For a complete list of time/date parameters, visit: http://php.net/manual/function.date.php
1 523 posted 15 years ago by Jaymoon
simple :)
7 746 posted 15 years ago by antpaw
0 776 posted 15 years ago by septimoc
0 647 posted 15 years ago by conspirator
I'm working on a web app that requires me to track nearly 300 form fields. To make this easier, and to allow me to handle special cases, I needed to assign them to an internal array. The switch/case statement makes this a breeze.
1 609 posted 15 years ago by mdrisser
Format date from yyyy-mm-dd hh:mm:ss TO yyyymmddhhmmss
1 921 posted 15 years ago by gfazioli
Word Cut Function
2 550 posted 15 years ago by gfazioli
0 855 posted 15 years ago by ezerick
2 844 posted 15 years ago by tclancy
Description print_r - Prints human-readable information about a variable mixed print_r( mixed expression [, bool return] ) print_r() displays information about a variable in a way that's readable by humans. Parameters * expression...
0 611 posted 15 years ago by ianmonge
0 665 posted 15 years ago by stavelin
This function will allow you to use '#ABCDEF' or '0xEEFF33' instead of the RGB values required for imagecolorallocate() by stripping away any non hex characters. It will also check and make sure that it's a valid 6 digit hex value after the stripping...
0 567 posted 15 years ago by Jacolyte
This will print every number from 0000-9999. Each number is comma separated. The goal was not pretty / readable code, but to get all code on a single line.
0 477 posted 15 years ago by tgpo
1 759 posted 15 years ago by plasticated
1 517 posted 15 years ago by iTony
write this in your .htaccess links are going to look like this yourpage.de/yourVariableValue1/yourVariableValue2/ [NC] will remove the case sensitivity of your static words like "admin" its going to work, even if you type yourpage.de/a...
2 680 posted 15 years ago by antpaw
0 618 posted 15 years ago by goo
1 581 posted 15 years ago by goo
This is a simple function that will take a folder path and remove all of its contents including files and directories.
0 726 posted 15 years ago by aristoworks
1 ... 53 54 55 56 57 ... 64