Welcome To Snipplr


Everyone's Recent Snippets Tagged php



1 ... 31 32 33 34 35 ... 64
0 1373 posted 15 years ago by paschim
Based on http://snipplr.com/view/2734/get-full-url/
0 1421 posted 15 years ago by juanrossi
Example code for a SlideDeck user to place their SlideDeck on the homepage of their WordPress site.
0 1519 posted 15 years ago by oriontimbers
Since the 31 of august 2010, twitter made its API more secure, stopping basic authentication calls. So, if you used basic authentication you have to change your code and implement oAuth authentication model or you can follow this link and found a mi...
1 2368 posted 15 years ago by ginoplusio
Add this to your .htaccess file to make PHP5 the default version on Netcologne (Germany) Webspace.
0 1473 posted 15 years ago by mountbatt
0 1474 posted 15 years ago by adampatterson
allows for variable length arguments - something similar as python func(*args, **kw)
0 1288 posted 15 years ago by silviud
I needed to trim a simple numerical array that might have duplicate values into an array with no duplicates. I came up with this before finding array_unique(). D\'oh.
0 1520 posted 15 years ago by beneberle
Returns the page object of the parent of the current page.
0 1615 posted 15 years ago by levinet
Returns the post or page id using the name/slug of a page.
2 4325 posted 15 years ago by levinet
0 1356 posted 15 years ago by sandrews_06
0 1081 posted 15 years ago by wireplay
0 1514 posted 15 years ago by wireplay
2 1492 posted 15 years ago by wireplay
0 2471 posted 15 years ago by wireplay
I don't want to write function empty() again and again.
0 1610 posted 15 years ago by jamepaul
Display any rss feed as html in wordpress
0 1248 posted 15 years ago by richerimage
In a Project i had to save serialized arrays in a MYSQL Database, when i used that i got a Error Message for no reason (Error at offset XX of XX bytes in...). I wrote this little functions to fix that issue. (I dont recommend to save serialized Arra...
0 1614 posted 15 years ago by FreaKzero
This snippet can be called in every controller, all you need to do is to specify the form name, the model name and the data.
1 1425 posted 15 years ago by stolkchris
0 1372 posted 15 years ago by sandrews_06
If you need to add some content to your pages without having that content in your database you can use Wikipedia API. You can, for example, need to add automatically a simple description to a city name, or to a band name. Or you could need to add the...
1 1833 posted 15 years ago by ginoplusio
0 1226 posted 15 years ago by mjsiemer
Useful snippets for php developers.
0 1465 posted 15 years ago by jamepaul
0 1237 posted 15 years ago by indra
By Philkav for reddit [r/mw2]
0 1098 posted 15 years ago by philkav
1 ... 31 32 33 34 35 ... 64