Welcome To Snipplr


Everyone's Recent PHP Snippets



1 ... 143 144 145 146 147 Next »
0 504 posted 17 years ago by methnen
makes a resized duplicate of an image
0 509 posted 17 years ago by jkochis
2 446 posted 17 years ago by mail_json
from openbusiness.cc
2 631 posted 17 years ago by ringo
this is from openbusiness.cc statistics code.
2 711 posted 17 years ago by ringo
You should edit your WordPress plugin so that the $source variable at the end shows this value. Though it is a shame that code can't have an 'ol' as a childNode, and neither can the pre element. Couldn't find any way of making it all fit: http://lear...
3 600 posted 17 years ago by rolandog
usage is simple: $result = mysqli_query($query,db_conn('local')); for instance. if written in patterns, this should probably be a singleton, but I haven't bothered converting it - feel free to comment with your modification though!
3 517 posted 17 years ago by Aeon
Not a great solution will need to look further at why files are being sent in binary form Add this to the mime types array in the Upload class
3 633 posted 17 years ago by benpjohnson
0 671 posted 17 years ago by nicolaspar
This function split a several lines long text into an array. It works with Windows and Linux texts.
4 571 posted 17 years ago by katxorro70
0 907 posted 17 years ago by janez
I use this object verry often, so that I only need to pass one object as parameter on any function. No need to wory when we refactore the function Usage: $var = new open(); $var->url = 'http://www.world.com'; $var->title = 'Testing Site'; ech...
1 732 posted 17 years ago by ekobudisetiyo
这个问题出现在home.php中。 from:天佑 在 home.php 中 $myrecentposts 內的 SQL 是用 post_date 和 NOW() 作比較. NOW() 這個 function 是會以 server 的 timezone 讀取現時的時間,但 post_date 這個 field 的 timezone...
0 384 posted 17 years ago by championeer
4 780 posted 17 years ago by jkochis
Exclude Posts From Some Category 这样就可以在首页中不显示某些类别(比如asides)的帖子了
1 994 posted 17 years ago by championeer
http://rossoft.wordpress.com
1 686 posted 17 years ago by jonbaer
1 1210 posted 2023 years ago by KernelPanic
extraido de http://es.php.net/manual/en/ref.domxml.php
2 558 posted 17 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 l...
1 701 posted 17 years ago by Navegante
The standard tag for the new class Smarty_Backoffice in my application.
0 449 posted 17 years ago by Bunker
1 ... 143 144 145 146 147 Next »