Welcome To Snipplr


Everyone's Recent Snippets Tagged php



1 ... 27 28 29 30 31 ... 64
an example on how to build xml of a Zend_Form for XSLT use
0 1056 posted 14 years ago by iroybot
This will make all errors be shown and logged. Useful for when you want to figure out what's wrong but the production server doesn't display any errors.
1 961 posted 14 years ago by BrunoDeBarros
Как сделать вывод из нескольких таблиц (php mysql) Итак, имеем: Три таблицы - articles, categories и sections. По иерархии - в sections включаются categories, а в catego...
0 1030 posted 14 years ago by graceman9
You can use this code under MIT licence.
0 1294 posted 14 years ago by digitalzoomstudio
0 1064 posted 14 years ago by wnasich
0 1442 posted 14 years ago by wnasich
This snippet is a PHP function that checks if an email address is valid
2 1139 posted 14 years ago by visudex
After an attempt to more a live site to a personal server for further work I ran across the problem of a mix of absolut and relative links making the local copy not work. Not wanting to manually have to change every single absolute to a relative (bec...
0 1120 posted 14 years ago by FatFolderDesigner
0 1118 posted 14 years ago by jli
This code is usefull for getting the list of Wordpress Sites from Multisite without sending each user id.
0 1418 posted 14 years ago by juanrossi
MacOS 10.6.5 PHP 5.3.3
0 764 posted 14 years ago by zuzara
Here is a little bit of code I use from time to time to make a generic some what safe date selector for forms. I wanted something easy, small, and not relying on images, jquery, libraries, etc... Most importantly I wanted the date that was selected t...
0 923 posted 14 years ago by brownrl
So i wanted to spit all my error_log(); and error_reporting(E_ALL); to syslog on my MacOSX and syslog would output it on a custom file.
0 1372 posted 14 years ago by sadus
This shell script helps to refresh a propel schema from an existing database using (the "old") Symfony 1.2 and avoiding the "CURRENT_TIMESTAMP" (MySQL) bug.
0 602 posted 14 years ago by PixEye
1 935 posted 14 years ago by lorenz82
5 1151 posted 14 years ago by lorenz82
I'm originally a sys admin and i love "tail - f /var/log/*" ... so i created a similar function in PHP that will allow me to view in real time what classes/functions/files/lines of my code is being run... The usage is really simple, just set a glo...
1 1777 posted 14 years ago by sadus
1 896 posted 14 years ago by nveselinov
0 1089 posted 14 years ago by minipark
0 1132 posted 14 years ago by stephcode
nice post, would do it a bit differently but using it currently as-is.
0 1002 posted 14 years ago by dmistriotis
0 992 posted 14 years ago by sb_01
Snippet for adding to your functions.php file to enqueue jQuery.
1 889 posted 14 years ago by oriontimbers
1 1012 posted 14 years ago by sadus
0 1070 posted 14 years ago by sandrews_06
Im pretty new to oop php i have tried to create a php search function but im sure this needs alot of improvement. So add on :D
0 763 posted 14 years ago by JonnySnip3r
1 ... 27 28 29 30 31 ... 64