Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged php



1 ... 16 17 18 19 20 ... 58
0 1261 posted 14 years ago by rahijain
Replace non alpha-numeric characters with PHP
0 1317 posted 14 years ago by plesh
Loops through ASCII characters to display alphabet, useful for alphabetic filtering links. eg: A | B | C | D ...
0 1604 posted 14 years ago by plesh
A really handy snippet that will replace textual URLs with HTML links. Also works for email addresses.
0 2250 posted 14 years ago by plesh
0 1328 posted 14 years ago by jacksaidwhat
0 1287 posted 14 years ago by ahdriel
If you want to use PHP as a command line program, this code can serve s a reference to read the arguments passed to the program.
0 1525 posted 14 years ago by tcam27
Traditionally when you have lost lists of dat you want to alternate rows for usability. The first thing everybody makes to fix this is a simple if statement loop, but this adds a number of lines and is hardly a clean solution. Additionally it require...
0 1697 posted 14 years ago by FatFolderDesigner
I can't access the global $paged variable.
0 839 posted 14 years ago by DanielApt
Misc operations
0 1160 posted 14 years ago by patriksvenssonmpsbroadbandcom
Mockup of how to create a SessionContext using PHP SOAP and ClientServices 2
0 1054 posted 14 years ago by patriksvenssonmpsbroadbandcom
0 1610 posted 14 years ago by kreatific
0 1244 posted 14 years ago by jatinchimote
0 1295 posted 14 years ago by hego
a more useful way of printing php arrays in a nice readable format and able to decode serialized and json_encoded strings.
0 2659 posted 14 years ago by liamchapman
0 1543 posted 14 years ago by kbrown
0 1311 posted 14 years ago by erraja_07
0 1488 posted 14 years ago by nebojsac
Esto es para obtener los codigos de paises desde geonames.org y almacenarlos en una tabla. Se iso bajo CodeIgniter.
0 1454 posted 14 years ago by jrobinsonc
Insert this code in header.php
0 1295 posted 14 years ago by tcelestino
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 1741 posted 14 years ago by jakekimpton
Validacion de email y string con php
0 1638 posted 14 years ago by serialk89
Código básico para enviar un email con contenido HTML
0 1422 posted 14 years ago by serialk89
Within your view, you place something like: <?=>session->flashdata('feedback') ?>
0 1255 posted 14 years ago by screon
You may wanna mess with it to suit your needs (like setting the folder to 0777).
0 2419 posted 14 years ago by xylude
Selecciono los post por categoría desde la base de datos de wordpress
0 1471 posted 14 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 2490 posted 14 years ago by nebojsac
1 ... 16 17 18 19 20 ... 58