Welcome To Snipplr


Everyone's Recent PHP Snippets



1 ... 90 91 92 93 94 ... 147
split_to_chunks splits the string up into an array with elements containing 140 characters <b>or less</b>. This enables you to keep words intact when sending automated twitter messages. $to is needed in order to subtract from 140 the amount of cha...
0 1051 posted 14 years ago by s0l1dsnak3123
A simple PHP object which connects to a mysql database, selects fields, creates users and more..
0 897 posted 14 years ago by djstaz0ne
0 892 posted 14 years ago by zartgesotten
0 950 posted 14 years ago by frankyfish
Change the excerpt value in functions.php
0 784 posted 14 years ago by howardpanton
Add read more link for wordpress
0 833 posted 14 years ago by howardpanton
Count the number of comments in wordpress blog
0 2092 posted 14 years ago by howardpanton
This will convert dates from MM-DD-YYYY to YYYY-MM-DD (iso format)
1 1108 posted 14 years ago by bradless
This is used to display the date the item was created, within the item page. DATE_FORMAT_LC2 can be changed to suit allowable Joomla variants.
0 627 posted 14 years ago by K2Joom
0 477 posted 14 years ago by danwoodward
0 927 posted 14 years ago by iTony
Hello friends. I've create this script for you to change directories permissions without connecting them via Ftp Prog. Thanks. [En Yeni Oyunlar](http://www.yeni-oyun.com)
0 564 posted 14 years ago by jackoder
0 710 posted 14 years ago by jodm
While these examples convert Markdown fields to HTML for use in CKEditor, the same method can be used to render the filters of any input_format.
0 1137 posted 14 years ago by zachharkey
This script helps you to test session persistence for your HTTP API. Launch this.php?set=valuuue to set the session value stored to value. Launch this.php to retrieve the value.
0 640 posted 14 years ago by asterfr
This function will fetch the real IP address of the user even if he is behind a proxy server.
1 936 posted 14 years ago by jrobinsonc
Delete a directory including its contents.
0 698 posted 14 years ago by jrobinsonc
This function takes an array and a key that is unwanted. It will recurse through and unset the key in the argument array and all its sub-arrays.
0 759 posted 14 years ago by thesmart
PHP AdSense account monitor class, can retrieve data from your AdSense account (impressions, clicks, ctr, ecpm, earnings). This class can retrieve (for now) only “AdSense for Content” data, for different periods of time (see class methods for mo...
0 583 posted 14 years ago by RM
Türkçe ülkeler listesi
0 751 posted 14 years ago by metoikos
This simply php function will retrieve the links of the images from Google Images searched with a keyword. The function just calls images.google.it and parse the html to find the url of the images, in this case the urls are stored in the javascript,...
0 2960 posted 14 years ago by ginoplusio
Managing globals with the registry pattern. This class provides lazy loading functionallity. This means it is possible to add a callback or class (with arguments) which will be called or instanciated when it is being used for the first time.
0 937 posted 14 years ago by freelancephp
Example of how to send a subscribe_user request using Notifo's api. Notifo lets you setup push notifications to mobiles - for any site. Put the PHP into a separate file named notifo-proxy.php
0 998 posted 14 years ago by Meander365
Função muito boa criada por Sean Nall.
0 554 posted 14 years ago by zitoloco
1 ... 90 91 92 93 94 ... 147