Tag : function

Title User Language Tags Description Date
wordpress functions xma PHP

function files for worpdress

May 6
A function to get a files contents with curl. o0110o PHP

A handy function to get the contents of a file with curl. Accepts $_path as a parameter.

October 20
A function to get file sizes in multiple formats with curl. o0110o PHP

A function to get a files size via curl. Accepts $path, $unit, $float, $username & $_password; In the listed order.

October 20
A function to see if a file exists with curl. o0110o PHP

This function will use curl to see if a file exists at the location it's provided. It accepts $_path as a parameter.

October 20
SlideDeck 2 After get hook-in for overriding deck options Jamie PHP

Allows a SlideDeck user to hook into the options array after the SlideDeck is fetched from the database. Options can then be modified based on the request.

August 9
EZ Gravatar psyne PHP

Simple function to grab a gravatar image with a default placeholder set using placehold.it

August 2
Prevent sql injection in LIKE queries TimoZachi PHP

Function to prevent sql injection in Like queries, where the characters '_' and '%' can be dangerous.

July 25
Geolocating IP Addresses for free using geoPlugin.net and ColdFusion davidwaterston ColdFusion

See source for comments.

July 8
Helper Functions StevenW721 PHP

General helper functions I commonly need for new website production

June 12, 2012
Using Jomsocial functions in outside of Jomsocial kevincam PHP May 24, 2012
calculateAge bsuichies PHP

Calculate age in years based on a timestamp and a reference timestamp (which defaults to the current time when left empty)

March 14, 2012
Getting function by name (in string). ef Clojure

Gets function by name.

January 7, 2012
Preg_replace_callback with UBB-parser Waldio PHP November 10, 2011
moveElement Function alberomo JavaScript

Description: JS function that moves an element. Arguments: ID of the element to move, final x point, final y point, interval/speed (in milliseconds).

July 30, 2011
Wordpress Register Sidebar Widgets xavsio4 PHP

<?php> <!–Default>

<?php>

Note that sidebar.php must not always content the sidebar

July 6, 2011