Welcome To Snipplr


Everyone's Recent Snippets Tagged php



1 ... 38 39 40 41 42 ... 63
This PHP class lets you clean and repair html code. WHAT IT DOES: delete closed tags without their opening tag, fix open tag without close, closing them automatically, check bad nesting and fix them, fix bad quotes in attributes, merge different styl...
2 5137 posted 16 years ago by ginoplusio
1 2264 posted 16 years ago by ginoplusio
PHP encrypts your E-mail address and generates the javascript that decrypts it. Most bots and spiders can't execute javascript and that is what makes this work.
3 2825 posted 16 years ago by fackz
1 1769 posted 16 years ago by mracoker
Insert email in wordpress theme whit cryptX plugin active
0 1781 posted 16 years ago by toro999
Insert admin menu in wordpress widget when you are logged
0 1812 posted 16 years ago by toro999
Insert banner image in wordpress page theme
0 1878 posted 16 years ago by toro999
1 2613 posted 16 years ago by ginoplusio
1 1971 posted 16 years ago by ginoplusio
A utility function to preserve an array in a session. Adding the newest element to the beginning of the array and popping out the last one. Useful for displaying for instance; your last searches option in your website.
1 2303 posted 16 years ago by Heroftime
0 1786 posted 16 years ago by bionickid
This will outpu a numeric result array
0 2328 posted 16 years ago by karmacode
To show error in php.
0 2130 posted 16 years ago by rahijain
A little function I add to the base Page_Controller class that allows you to define what actions are explicitly SSL. It will put users in SSL when they access it and take them out of it when they navigate somewhere else. It is available in any cont...
0 1272 posted 16 years ago by dalethedeveloper
1 2403 posted 16 years ago by ginoplusio
1 2453 posted 16 years ago by ginoplusio
Con esta funcion podemos recortar una cadena de texto indicandole cuantos caracteres queremos que tenga y ademas no cortara la ultima palabra.
0 1674 posted 16 years ago by jacinmontava
Simple function that sorts a bi-dimensional array by one of it keys.
1 2340 posted 16 years ago by AlejoLuc
Uses JSON Lite SWC/Class from http://thanksmister.com/?p=40
0 1961 posted 16 years ago by allnatural
Every MySQL class for PHP I've seen so far has been an epic disappointment. This will not lead you to feel the same way. Enjoy!
0 1530 posted 16 years ago by jrgp
Used to copy the user avatar from Facebook to your community in this [Facebook Connect Tutorial](http://www.barattalo.it/facebook-connect-tutorial/ "Tutorial").
1 2293 posted 16 years ago by ginoplusio
0 1963 posted 16 years ago by Zwendel
PHP provides many date manipulation devices and an entire suite of date functionality with the datetime class. However, this does not address date validation, that is, what format a date is received in. The PHP strtotime() function will accept many f...
1 2276 posted 16 years ago by kanampo
Shows the sub pages of a parent page, and also the parent page as a link.
1 2080 posted 16 years ago by davebowker
Create an excerpt from the main copy, removing any image or other HTML tag markup so it will be clean. In this case the length is 160 characters, change that number to change the length of the excerpt
0 1624 posted 16 years ago by cessnajumpin
I wrote this really quick and dirty script to paginate a very large chunk of text. A client site was setup with the understanding their about page would consist of 5-6 paragraphs but their biography ended up being 60 paragraphs. At the end of the d...
0 1757 posted 16 years ago by aristoworks
1 ... 38 39 40 41 42 ... 63