Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged php



1 ... 44 45 46 47 48 ... 58
Rather simple profiler for > php5, if you want to find out where the heck those 0.5 sec function time goes into
0 1095 posted 16 years ago by birdspider
this codings display welcome message , curent date and greetings
0 1154 posted 16 years ago by beamconsultancy
This will create a Navigation from a MySQL database table names. It removes the table name "includes" by default so you can see how to remove any certain tables you wish to not use as a site section. Just plug in your MySQL database details and co...
3 1961 posted 16 years ago by jiggyhat
Este codigo inserta un registro en una base de datos mysql utilizando PHP
0 1880 posted 16 years ago by denker
A simple replacement for print_r or whatever you use to display debug info.
2 1786 posted 16 years ago by PeteW
use this to cache a remote file with xml, json etc
2 2199 posted 16 years ago by jimmysessions
bei joomla in alle index.php - index3.php dateien schreiben die im root und im administrator Verzeichnis zu finden sind.
0 1279 posted 17 years ago by nico65
This is a simple script that will allow you to crop an image that you upload from a form.
1 1617 posted 17 years ago by aristoworks
3 1427 posted 17 years ago by g0mer
2 1586 posted 17 years ago by level09
1 1384 posted 17 years ago by justinseiter
this is how to automatically get short urls for your blog posts in wordpress, What you need is to decide which tinyurl service you will be using and get its api URL, for example rinyurl.com , bit,ly, tr.im, here are the api URLS for the mo...
0 1950 posted 17 years ago by nerdsane
4 1922 posted 17 years ago by level09
This is a snippet to assign an active class to active links when the navigation is included in a php file.
1 1572 posted 17 years ago by grazz
1 1861 posted 17 years ago by cobra90nj
Block - install as normal
0 856 posted 17 years ago by fearghalmurphy
This snippet returns a link to twitter for the user to tweet the current page. URL is TinyURLed automatically (and tinyurls are cached indefinitely in assets/cache/tweetthis.txt). Simply paste code into a new snippet called "TweetThis". Call it li...
3 1566 posted 17 years ago by DaveChild
Grab 5 latest Wordpress posts and display them on a non-Wordpress PHP page.
1 1438 posted 17 years ago by kwilson
Put this before the loop in archive.php to have posts in the archive for category '26' sorted by custom field 'date'. Assign sortable values like '090501' or '2009-05-01' to those fields when editing posts and your Upcoming Events will be sorted by...
8 3072 posted 17 years ago by hussong
1 1495 posted 17 years ago by michaelfox
A fallback for php's json_encode functionality. What do you think?
1 1427 posted 17 years ago by kirie
0 1269 posted 17 years ago by kokikr
0 1569 posted 17 years ago by albertomori
This function will convert any long url into a Diggbar url
2 1529 posted 17 years ago by jdstraughan
Skor PHP Template class can assign individual variable values or arrays with several variable values. A separate sub-class extends the base class to support delimited template section replacements.
0 1326 posted 17 years ago by Agundur
Wandelt eine Datetime in eine deutsches Datum um
0 1141 posted 17 years ago by bpa
You can get hostname from script environment - getenv("HTTP_HOST") (?!'.$host.') matches URLs always except local links
0 1522 posted 17 years ago by kossmoss
In phpMyAdmin you can define strftime formats for your dumped database sql files. Here you are with two formats, one for sigle table export, one for multi-table export.
0 1578 posted 17 years ago by dawjdh
1 ... 44 45 46 47 48 ... 58