Welcome To Snipplr


Everyone's Recent PHP Snippets



1 ... 90 91 92 93 94 ... 147
0 803 posted 15 years ago by gd6d
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 1207 posted 15 years ago by s0l1dsnak3123
A simple PHP object which connects to a mysql database, selects fields, creates users and more..
0 1035 posted 15 years ago by djstaz0ne
0 1031 posted 15 years ago by zartgesotten
0 1139 posted 15 years ago by frankyfish
Change the excerpt value in functions.php
0 923 posted 15 years ago by howardpanton
Add read more link for wordpress
0 963 posted 15 years ago by howardpanton
Count the number of comments in wordpress blog
0 2391 posted 15 years ago by howardpanton
This will convert dates from MM-DD-YYYY to YYYY-MM-DD (iso format)
1 1232 posted 15 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 725 posted 15 years ago by K2Joom
0 561 posted 15 years ago by danwoodward
0 1091 posted 15 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 655 posted 15 years ago by jackoder
0 819 posted 15 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 1301 posted 15 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 781 posted 15 years ago by asterfr
This function will fetch the real IP address of the user even if he is behind a proxy server.
1 1082 posted 15 years ago by jrobinsonc
Delete a directory including its contents.
0 797 posted 15 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 841 posted 15 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 680 posted 15 years ago by RM
Türkçe ülkeler listesi
0 863 posted 15 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 3228 posted 15 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 1085 posted 15 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 1126 posted 15 years ago by Meander365
1 ... 90 91 92 93 94 ... 147