Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged link



« Prev 1 2
Button that onclick with scroll to top of the page
0 1527 posted 11 years ago by tucq88
In wordpress, if you want to auto convert all URLs in your string into clickable hyperlinks, you can actually do it using the built-in function make_clickable(). If you need to do that outside of wordpress, you can use the same function. Example...
2 3919 posted 12 years ago by fackz
Here's the basic principal behind spiders. (ex: <a href="http://giochiflash.123homepage.it">Giochi Flash</a> $html = file_get_contents('http://www.example.com');
6 6897 posted 12 years ago by haydin
0 1830 posted 14 years ago by rwunsch
Link to the current theme / template url for use in wordpress template.
0 1418 posted 14 years ago by carouselcreative
use <?php>/images/someimage.gif Such a path resolves to .. http://www.yoursite.com/wp-content/themes/YOURTHEME/images/someimage.gif
0 1257 posted 14 years ago by disgruntledillon
Call Taxonomy anywhere on a template (without link)
0 1498 posted 14 years ago by zealmurapa
Returns the video id for any type of youtube url that holds one.
2 2139 posted 14 years ago by KabuqueJoe
Simple, It gets the referer and if there wasn't a referer it displays just the home link, but when there is a referer it dispays both back and home, I personaly use this on my 404 page.
1 1639 posted 14 years ago by mentaljason
takes a url and appends http to it if http is not present
0 1308 posted 14 years ago by vonlof
This script generates an expiring link to an Amazon S3 file
0 1067 posted 14 years ago by esundahl
0 1880 posted 15 years ago by irmantas
A simple PHP application for counting how many views a page gets.
0 1237 posted 15 years ago by FelixT
1 1967 posted 15 years ago by ptejada
0 1322 posted 15 years ago by metoikos
0 1666 posted 15 years ago by K2Joom
Add to functions.php file.
0 1397 posted 15 years ago by Xtraboy
Creates a tiny url for posting on twitter etc.
1 2053 posted 15 years ago by vagrantradio
0 1042 posted 15 years ago by sismevu
1 1349 posted 15 years ago by berkes
0 1372 posted 15 years ago by yazu
0 1041 posted 16 years ago by gd6d
Some times you need to accept some url as input but users seldom add http:// to it, this code will add http:// to the URL if it’s not there.
1 1630 posted 16 years ago by paulgrenwood
this function formats a web address for use in a link.<br> echo formatWebAddress("google.com");<br> http://www.google.com/
1 1439 posted 16 years ago by jlvallelonga
6 1932 posted 16 years ago by bgriffiths
2 1897 posted 16 years ago by iloveitaly
YouTube Video Download Link Generator free for all to use, successfulness can't be guaranteed
5 2848 posted 17 years ago by jacksont123
1 1267 posted 17 years ago by gbot
« Prev 1 2