Welcome To Snipplr


Everyone's Recent PHP Snippets



1 ... 36 37 38 39 40 ... 147
0 468 posted 12 years ago by jretamal
Set the correct path to use php cli in Terminal, with Mamp instead of default php installation of Osx.
0 671 posted 12 years ago by macodev
Takes a number (no decimal) and converts it to written words.Why'd i write it to be able to do such big numbers? Why not? Note: The numbers next to the 'thousandfoldnums' are for your reference (thats how many zeros/places there are in that numbe...
0 774 posted 12 years ago by lasavior
Allows you to change the name of the "Posts" module within the admin section of WordPress.
0 553 posted 12 years ago by jamiebrwr
1 751 posted 12 years ago by focal55
0 525 posted 12 years ago by slav123
Verify if a user is a fan of a page
0 538 posted 12 years ago by jretamal
Prints layout Handles.
0 665 posted 12 years ago by JustMadMike
In case you need to create your own listing of the last # of trailing months of Archived Wordpress Articles. This one is being used to pull the info onto a Magento page.
0 641 posted 12 years ago by cpres
Rescatamos los datos que pasamos por apprequest .
0 878 posted 12 years ago by serialk89
Rescato variables desde un iframe con $signed_request
0 766 posted 12 years ago by serialk89
add this to functions.php and you won't have to mess with the index page.
0 670 posted 12 years ago by cpres
How long customer is inactive ?
0 525 posted 12 years ago by necode
There are a few modifications to make to your WP files to share a single database between multiple installs on separate domains.
0 481 posted 12 years ago by lancemonotone
Good for showing labels/descriptions that accompany custom fields when they are set, and avoiding lots of empty labels. Eg: if there is no content set in the 'project-agency' field, don't show the label 'Agency:', but if there is, show it with the...
0 609 posted 12 years ago by wahnbriefe
0 447 posted 12 years ago by sridhar
0 419 posted 12 years ago by sridhar
0 632 posted 12 years ago by nogre
The fastest way is to create a php file and access it through browser add the following content to file.
0 782 posted 12 years ago by necode
This is a skeleton mock up for showing a database table in a basic datagrid with sorting and pagination.
0 877 posted 12 years ago by brownrl
This PHP class can be used to process credit card payments via Cybersource. It can send HTTP requests to Cybersource SOAP Web services API server to perform several types of operations to process credit card payments. Currently it can request...
0 686 posted 12 years ago by mafhh14
This article shows how to add default value to any system configuration option fields. System configuration option fields means those options under System -> Configuration. Suppose, you have the following system.xml file. System.xml file is necess...
0 696 posted 12 years ago by necode
Insert that into the database as a string. The example would give you the format 2011-01-28
0 740 posted 12 years ago by necode
1 ... 36 37 38 39 40 ... 147