Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged php



1 ... 27 28 29 30 31 ... 58
To use just edit the Twitter user ID which appears at the bottom of the snippet. You may want to change the location where the tweets are cached, by default they are stored at the root level of your domain. The reason for caching is that Twitter limi...
0 2103 posted 15 years ago by f6design
Self Explanatory
0 1950 posted 15 years ago by vagrantradio
Prints out the contents of a directory.
0 1560 posted 15 years ago by vagrantradio
This is a simple 'text to array for output' script that I've used a few times for my clients. Hope you like!
0 1812 posted 15 years ago by chicagowebmanagement
0 1782 posted 15 years ago by GuillaumeP
Change $dir to image folder
1 1698 posted 15 years ago by bjarniolsen
0 1614 posted 15 years ago by metoikos
0 1698 posted 15 years ago by tuffo19
1 1676 posted 15 years ago by bobbym245
A PHP proxy for jQuery AJAX cross-domain requisitions, created to support friendly-url API\\\\\\\'s.
3 2193 posted 15 years ago by hisamu
This function is usefull and simple, specially when u create users databases
1 2757 posted 15 years ago by zenco
0 1107 posted 15 years ago by crishnakh
1 1206 posted 15 years ago by metoikos
3 1577 posted 15 years ago by sb_01
searching for a date sort function I found: http://slevy1.wordpress.com/2010/06/30/sorting-date-strings-in-php/ and built my codeigniter helper call : $arrSortedDates = bubbleSort( $unsorted ); (previous->helper autoload)
0 1394 posted 15 years ago by lluisr
Definitivo. Errore bassissimo.
2 2024 posted 15 years ago by tuffo19
1 1532 posted 15 years ago by CJness
0 1216 posted 15 years ago by CJness
0 1563 posted 15 years ago by batfan
Replace "getMyAttribute" with "get" followed by the attribute name in camel case.
0 1339 posted 15 years ago by Groove
PHP scripting block can be placed anywhere in the document. It always starts with <?php>. The example of PHP code below sends the text “Oheon.com” to the browser:
0 1460 posted 15 years ago by Masis
This code wil 301 redirect non-www URLs to the www URL
0 1287 posted 15 years ago by r4b87
Get url friendly string
0 1270 posted 15 years ago by nilambar
Gets string and length and return string of given length. Makes sure half word in not in the end.
0 1301 posted 15 years ago by nilambar
Calculate age; given date.
1 1745 posted 15 years ago by nilambar
To use: $update_sql = querys($sql); or $select_sql = getresult($sql); Used simplify selecting rows from a database. You'll need to pass in the SQL statement.
0 1589 posted 15 years ago by shawntysco
Used to delete rows from the database. \r\nTo use:\r\n$del = delete(\"quick_links\", $_GET[\'id\']) ;
0 1409 posted 15 years ago by shawntysco
1 ... 27 28 29 30 31 ... 58