Welcome To Snipplr


Everyone's Recent Snippets Tagged url



1 ... 4 5 6 7 8 9
Matches are as follows: 0 = protocol 1 = fqdn 2 = subdomain 3 = top level subdomain 4 = domain (blah.com) 5 = port 6 = path 7 = query string 8 = hash
1 1472 posted 16 years ago by remotezygote
This function converts URLs and e-mail addresses within a string into clickable hyperlinks.
0 1452 posted 16 years ago by paulgrenwood
0 1362 posted 16 years ago by paulgrenwood
0 3371 posted 16 years ago by randyjhunt
I've made some changes
2 1343 posted 16 years ago by fetolio
Read a page's GET URL variables and return them as an "associative array." Calling the function while at `example.html?foo=asdf&bar=jkls` sets `map['foo']='asdf'` and `map['bar']='jkls'`
17 11410 posted 16 years ago by the_coder
0 2721 posted 16 years ago by enchance
remove multiple spaces and replace with underscore
0 1262 posted 16 years ago by rombob
This function converts URLs and e-mail addresses within a string into clickable hyperlinks.
2 1643 posted 16 years ago by Mithun
The tetex implementation of BibTeX, LaTeX's bibliography tool, forcibly breaks lines above a certain length (79 chars) by inserting % signs and line feeds, unless they can be broken between words. This is a problem when URLs are referenced, or if co...
0 1738 posted 16 years ago by deepsoul
0 3204 posted 16 years ago by traeregan
This line can be added to 'backend', 'frontend', 'listen' directives in the HAProxy config. It will redirect all requests for /books/mysql to /books.php?title=mysql
0 2210 posted 16 years ago by alexwilliams
In this example: *rewrite urls from domain.com to www.domain.com* This is somewhat documented elsewhere, but not very well, so here's an example on how to perform simple URL rewriting with HAProxy (instead of using mod_rewrite with apache)....
0 1528 posted 16 years ago by alexwilliams
gibt die url plus storeview aus, also bspw: http://yourdomain.com/de/
0 1228 posted 16 years ago by nico65
this function formats a web address for use in a link.<br> echo formatWebAddress("google.com");<br> http://www.google.com/
1 1504 posted 16 years ago by jlvallelonga
Simplifies a button to use only one function for URL navigation.
1 1120 posted 16 years ago by MacEvelly
3 1861 posted 16 years ago by jpsirois
3 1845 posted 16 years ago by cshaiku
Example Running: alphaID(9007199254740989); will return 'PpQXn7COf' and: alphaID('PpQXn7COf', true); will return '9007199254740989' Easy right?
1 1861 posted 16 years ago by localhorst
this function processes a URL that 'should' be a full url (i.e. http://something.com/dfsdfs/) and makes sure it contains http:// for easy inclusion as a link into a href attribute
0 1160 posted 16 years ago by iloveitaly
0 1450 posted 16 years ago by iloveitaly
Use this code to pull a DotNetNuke URL from a tab name. We use this to replace "?tabname=blah" type URLs which do NOT transfer language info.
0 1649 posted 16 years ago by jink
3 1983 posted 16 years ago by smoover
you'll need the ack (http://betterthangrep.com/) command line application
0 1162 posted 16 years ago by iloveitaly
6 2063 posted 16 years ago by bgriffiths
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 1720 posted 16 years ago by nerdsane
1 ... 4 5 6 7 8 9