Welcome To Snipplr


Everyone's Recent Snippets Tagged url



1 ... 5 6 7 8 9
3 2535 posted 18 years ago by benphelps
1 1695 posted 18 years ago by burnsra
(Supported by JavaScript, maybe other languages)
3 7688 posted 18 years ago by wizard04
0 1671 posted 18 years ago by IanLewis
Little script which call tinyurl.com via 'curl' for generate a sort url of the url you pass.
0 2391 posted 18 years ago by Juanje
1 1827 posted 18 years ago by multani
It redirects the url with JS.
0 1742 posted 18 years ago by skywalker
1 2295 posted 18 years ago by cyrilbatillat
This gets the current page addr. and send it... Modify form action="" to send values to proper mail function - or - class.
3 2223 posted 18 years ago by skywalker
Very minimal. Some homegrown API seeds from a while ago. Just posting for use as some php examples.
0 1869 posted 18 years ago by mandric
2 1835 posted 18 years ago by omixen
Worst title ever. Basically, this takes a string like: "Check this out: http://snipplr.com/view/5759/replace-a-url-its-domain-name-and-create-link/" and replaces it with "Check this out: snipplr.com [with a link to the full URL]"
1 2615 posted 18 years ago by jaytee
1 1532 posted 18 years ago by iTony
1 1583 posted 18 years ago by soxiam
This is handy for testing, when you need to simulate an open file or open URI. Why, and the Pickaxe book, have better examples
1 1865 posted 18 years ago by cczona
URI objects can be opened directly by open-uri
0 2005 posted 18 years ago by cczona
(c) copyright Stephen Chapman, 1st Jan 2005. Example: alert('http://'+uri.dom+uri.path+'/folder/file.js');
0 1722 posted 18 years ago by oxisound
2 1892 posted 18 years ago by dbug13
This makes it easy to retrieve certain value from a url with different values appended to it.
0 2078 posted 18 years ago by iTony
2 2374 posted 18 years ago by evanwalsh
Forward users from your alias domains to your main domain automatically. Nice to have if your site has got one or more aliases. Notice that all the domain aliases have [NC,OR] at the end of the line, while the last alias and_so_on.com just has [NC]....
6 2301 posted 18 years ago by torkil
Using mod_rewrite in Apache to rewrite urls and force removal of www in urls. Good for letting search engine spiders in the right door... Insert the code in your .htaccess-file in your website's root folder.
3 2524 posted 18 years ago by torkil
Using mod_rewrite in Apache to rewrite urls and force users to use www in urls. Good for letting search engine spiders in the right door... Insert the code in your .htaccess-file in your website's root folder.
5 2657 posted 18 years ago by torkil
6 2469 posted 18 years ago by LoRd1990
1 21859 posted 18 years ago by johnself
Adobe Air has a few security settings that stops you executing certain AIR methods when inside the sandbox. The code below bridges between the root document and the security sandbox, allowing you to open a URL in AIR in a default browser.
1 2201 posted 18 years ago by 1man
ej: echo keepqsSinParametro('hola','hola=mundo&mundo=lindo&hola=chau'); #out = mundo=lindo
0 1803 posted 18 years ago by nicolaspar
1 ... 5 6 7 8 9