Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged c



1 ... 7 8 9 10 11 ... 147
Count number of files on a ftp server
0 2673 posted 12 years ago by Sadeveloper
This PrestaShop support module is used to manage ticket system. By using this plugin you can manage customers queries and complaints easily.This add-on allows to your customers to submit tickets with different format attachment files. Admin can also...
0 3466 posted 12 years ago by AlastairBrian
Positioning the normal metaboxes in WordPress admin (like Excerpt, Author etc.) before the WYSIWYG editor
1 1556 posted 12 years ago by tkujawa
Write request data to a log file
0 2213 posted 12 years ago by dmertl
Examine a date and return false if it's in the past, or true for the future. Slightly more complicated than it needs to be, however there's an easy tutorial with full explanation if you follow the attached link.
0 4448 posted 12 years ago by gromitski
I created myself an install file using PHP. What this file does is creates folders and puts in each folder the corresponding file from the zip. Afterwards these files are moved to other folders which are already created or will be created by the inst...
0 1498 posted 12 years ago by PLATANIUM
I created myself an install file using PHP. What this file does is creates folders and puts in each folder the corresponding file from the zip. Afterwards these files are moved to other folders which are already created or will be created by the inst...
0 1658 posted 12 years ago by PLATANIUM
While the Pinnacle Cart API can handle some of this, I found it easier to query the database directly. This PCProduct class was developed for integrating Pinnacle Cart with WordPress with the following methods: - get_product($id) - get_product_by...
1 2361 posted 12 years ago by crypticsoft
Simple PHP functions to validate url, email address and ip, functions will return TRUE for valid data and FALSE for invalid data.
0 3662 posted 12 years ago by codingforever99
En Hosting Gratis, ellos ponen código de rastreo y publicidad anadiendolo en tus paginas webs, aveces estos códigos interfieren en consultas tipos webservice cuando el formato debe ser xml o json
0 2292 posted 12 years ago by thescorpion
Gets all of a Wordpress post meta data in an array without specifying a key
1 1920 posted 12 years ago by web_la
A function to create passwords for new users or password resets.
0 1814 posted 12 years ago by luckygreentiger
An attempt for a semi-random salt in a stored password. It's not stored in the database so I believe it would be harder to discover. Samples should be changed.
0 1608 posted 12 years ago by luckygreentiger
Compact Privacy Policy allowing cookies to be used in an iframe without being blocked by the host website. See link for further details.
0 1905 posted 12 years ago by gromitski
Simple PHP Backdoor Shell // http://www.example.com/shell.php?cmd=dir
0 5081 posted 12 years ago by shopsplash
Truncates the given string at the specified length.
1 2119 posted 12 years ago by JoshChris
0 1763 posted 12 years ago by santamartastudio
Bare outline for a PHPUnit test case
0 1573 posted 12 years ago by steroidmonkey
shows list of cpt for example on archive page when wpml is installed. if particular post has no translation, it shows it in default language
0 2124 posted 13 years ago by kkarpieszuk
Covnerts an IP address to it's relative hex value.
0 5098 posted 13 years ago by martyncoup
Instructions: WordPress menus and sidebars/widgets are really powerful modules, but unfortunately it requires Admin user role to edit them. If you would like to allow users with Editor user role to edit any of the widgets or menus, just paste t...
2 2187 posted 13 years ago by lromak
Simple PHP functions to validate username, password and date, functions check the input format and allowed characters and then return TRUE for valid data and FALSE for invalid data.
0 5226 posted 13 years ago by codingforever99
<a href="http://pantuts.com/2013/10/24/ayeemtract-using-curl-parallel/">http://pantuts.com/2013/10/24/ayeemtract-using-curl-parallel/</a>
1 4026 posted 13 years ago by pantuts
How to build a login form using php with mysql database.
0 2161 posted 13 years ago by codingforever99
simple php file uploader with check for file extension and size.
0 3221 posted 13 years ago by codingforever99
I find myself needing to constantly find new ways to massage the featured image via WordPress themes. This is my starting code. Note: I often use timthumb.
2 3300 posted 13 years ago by FlashBuddy
Add to config/site.php:
0 1925 posted 13 years ago by stephcode
Here's a country list with continent and country by country code!
0 3753 posted 13 years ago by kilise
**Example of use:** if (!isUniversityEmail('[email protected]')) exit('You must have a valid and .edu email address to register for an account.');
1 3328 posted 13 years ago by phpdev
1 ... 7 8 9 10 11 ... 147