Welcome To Snipplr


Everyone's Recent PHP Snippets



1 ... 31 32 33 34 35 ... 147
There seems to be no easy way to insert a key and value at the beginning of an array, as array_unset does not allow you to specify a key. This is not a very efficient way to do it, but it works. Pretend the array is currently: array("a"=>"b", "c"...
0 1989 posted 14 years ago by lemcoe9
Transform $_GET or $_POST in a string to add to an URL and send variables and values. Argument: Receive an $_GET O $_POST array function. Returns: variables concatenation to add to the URL.
0 1492 posted 14 years ago by alberomo
0 1338 posted 14 years ago by terataz
0 1393 posted 14 years ago by kidmizere
0 1718 posted 14 years ago by Heol
0 2313 posted 14 years ago by genseric
0 2183 posted 14 years ago by rc2789
Get number and returns a spaced string (14563 -> 14 563)
0 1296 posted 14 years ago by dhjapan
Check and Set Default HTTP GET (Verifica e define padrão para parametro HTTP GET)
0 1270 posted 14 years ago by cdohost
Print Debug Information (Exibe as informações de depuração)
0 2409 posted 14 years ago by cdohost
Bug Fix Required Path (Corrige o bug no caminho do arquivo)
0 2406 posted 14 years ago by cdohost
Local/Remote Connection Strings (Dados para conexão local e remota)
0 1098 posted 14 years ago by cdohost
Prevent direct access to php file (Prevenir acesso direto ao arquivo php)
0 1348 posted 14 years ago by cdohost
Only Show Errors in Development Stage (Mostrar erros somente no estágio de desenvolvimento)
0 1334 posted 14 years ago by cdohost
Format's var export so things looks a little bit nicer
0 2382 posted 14 years ago by iloveitaly
Acompanhar erros retornado pelo adodb ou exception do bd.
0 1031 posted 14 years ago by Jotape
0 1184 posted 14 years ago by kbrown
0 1014 posted 14 years ago by kbrown
0 2269 posted 14 years ago by kbrown
Find one or all values of an array in another array.
0 1020 posted 14 years ago by FeN_X
0 4070 posted 14 years ago by zvineyard
Remove Mootools from the Joomla Header in a Joomla Template
0 1284 posted 14 years ago by bubaphex
0 1747 posted 14 years ago by eldanieldeepak
If a module is set to display, load this
0 1170 posted 14 years ago by bubaphex
Used in template's, load this if home page etc
0 1223 posted 14 years ago by bubaphex
0 1116 posted 14 years ago by randycaruso
Simple function - just place it in your theme's functions.php file, save, and you're good to go. If an image in your content is missing the alt tag, it adds that posts title as the alt tag for the image. It's been recommended to me that I shouldn'...
0 2238 posted 14 years ago by RainyDayMedia
1 ... 31 32 33 34 35 ... 147