Welcome To Snipplr


Everyone's Recent PHP Snippets



1 ... 148 149 150 151 152 Next »
Similar to the file_put_contents() function in PHP5 built for PHP4 (will not cause errors on a server running PHP5).
0 230 posted 14 years ago by neogeek
1 181 posted 2021 years ago by KernelPanic
A quick and simple way to search a MySQL database. Example: mysql_search('items', 'title tags', isset($_GET['q'])?$_GET['q']:'', Array('columns'=>'*', 'method'=>'OR', 'extra_sql'=>'AND active = "true" ORDER BY id DESC'));
67 1134 posted 14 years ago by neogeek
This is a collection of US States (Long and abbreviated names) and world countries. There are a few examples of usage below the collections.
41 984 posted 14 years ago by neogeek
extraido de http://es.php.net/manual/en/ref.domxml.php
2 139 posted 14 years ago by mate
Esta funcion toma valores del espacio global $HTTP_*_VARS desde un array en la llamada a la funcion, y si existen y tienen contenido, las registra como globales para que puedan ser accedidas a continuación. Debe recibir una lista de elementos en...
1 211 posted 14 years ago by Navegante
This simple function allows you to fetch files from other web sites in PHP4 without needing to install any extensions for PHP.
1 238 posted 14 years ago by neogeek
The standard tag for the new class Smarty_Backoffice in my application.
0 109 posted 14 years ago by Bunker
1 ... 148 149 150 151 152 Next »