Welcome To Snipplr


Everyone's Recent Snippets Tagged php



1 ... 18 19 20 21 22 ... 64
It’s been driving me crazy that there’s no definitive script written to take out a user’s Flickr recent photos and parse it for formatting into HTML with a larger size than the standard 75 x 75 dimensions that the public_photo.gne Flickr script...
1 989 posted 13 years ago by jakekimpton
Validacion de email y string con php
0 896 posted 13 years ago by serialk89
Enviar datos por medio de $.ajax, propidad de jquery que permite ocupar ajax con php en jquery, se puede ocupar para cualquier cosa
0 970 posted 13 years ago by serialk89
Código básico para enviar un email con contenido HTML
0 799 posted 13 years ago by serialk89
Within your view, you place something like: <?=>session->flashdata('feedback') ?>
0 628 posted 13 years ago by screon
You may wanna mess with it to suit your needs (like setting the folder to 0777).
0 857 posted 13 years ago by xylude
Selecciono los post por categoría desde la base de datos de wordpress
0 868 posted 13 years ago by serialk89
Returns the same string, except with links wrapped in <a href=""> tags. Works on www.snipplr.com and on http://snipplr.com A variation of the script on the attached URL.
0 846 posted 13 years ago by nebojsac
Takes the seconds, and returns minutes. Will wrap it in a function is anyone is interested. Example: 92s -> 1m 32s
0 1174 posted 13 years ago by nebojsac
0 696 posted 13 years ago by prianto
0 618 posted 13 years ago by tcelestino
Full email validation with regex.
0 1384 posted 13 years ago by nebojsac
The function returns the "sanitized" version of user input. Use before putting variables into SQL code.
0 825 posted 13 years ago by nebojsac
0 775 posted 13 years ago by kbrown
Resize and image to fit a predetermined canvas size
0 993 posted 13 years ago by flatearthcomms
0 639 posted 13 years ago by xavsio4
Add these lines to your .htaccess file to increase PHPs file upload size limit to 20Mb
0 1024 posted 13 years ago by shodan_uk
Nothing revolutionary, just a simple implementation. A reworking from Brian Cray's source code: http://briancray.com/2009/08/21/tweeted-links-twitter-api-php-cache/ Note: requires creating a cache file, '/caches/twitter', relative to source.
0 918 posted 13 years ago by richardmaisano
A simple function that will split a given string into sentences, and then return the number of sentences specified. Quick and dirty.
0 650 posted 13 years ago by adamturtle
Twitter have changed their api, and using the old twitter.com?status=… doesn't work anymore. This uses the new 'Web Intents' method.
0 702 posted 13 years ago by adamturtle
Function to print breadcrumb links
1 664 posted 13 years ago by stewartduffy
CodeIgniter Helper function to repopulate form values when a muli-dimensional post array key is used.
0 625 posted 13 years ago by bretticus
facebook php-sdk from https://github.com/facebook/php-sdk/
0 750 posted 13 years ago by erikportin
0 839 posted 13 years ago by ratzo
1 ... 18 19 20 21 22 ... 64