KoderyBeta

PHP (20)

146Get Users Google Search TermGets what the user searched for in Google
144If Parent Domain is in arrayIf the iFrame is on a page where the URL is in the array...
143If is AJAX requestDetects if the file was requested by JS
138Trim strings by word.Trims the given tring by the word, rather than letter. Looks more 'natural'.
137Neat TrimWorks like substr but lets the last word finish. Ends with '...'
127If is active pageIf the page title matches the given string, add an class of active.
123Remove Images From StringUses preg_replace to remove images from a string
121PHP Broswer DetectionDetects browser, server side via HTTP headers.
117If $_GET/$_POST Is EmptyIf There's No $_GET varibles in the URL & $_POST array is empty
106Hide WarningsHides the warnings you occassionally get.
104Get Users IP AddressGets the users IP address, the ISP one, not the local computer address.
98Echo Numers (1,2,3,4,5)Echoes numbers for loops.
97Basic Looping ArrayLoops through the array with a foreach statment.
89If URL Contains...If the URL contains /category/faq/
86Basic simpleXML Loop FunctionLoops through XML document.
78Echo Random Hex ColorEchpes random hex color, just the charecters, no #.
61Contact Form With ValidationSmall, simple, validating contact form.
32Echo Numbers (0,1,2,0,1,2)Echoes numbers in a sequential order.
20MySQLi ConnectionConnected to a MySQL database, with the improved method.
17MySQLi LoopLoops through rows in DB, acording to what the SQL query is.