Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged url



takes a url and appends http to it if http is not present
0 1276 posted 14 years ago by vonlof
This function will transform any string to an seo url like string. It suports latin, french and german special characters. Example: applying the function to "Exemplo de aplicação da função" returns "exemplo-de-aplicacao-da-funcao"
2 1377 posted 14 years ago by KabuqueJoe
This function can be used to validate an URL
0 1444 posted 14 years ago by peckham
0 1273 posted 14 years ago by janvdm
How to create home page url
0 1180 posted 14 years ago by aashvi
1 1524 posted 14 years ago by ptiswitz
This code comes from the php documentation (see url)
0 1168 posted 14 years ago by jli
taken from comments at above URL
1 1954 posted 14 years ago by dan_hoerr
1 1792 posted 14 years ago by resting
0 1259 posted 14 years ago by dmertl
0 1841 posted 15 years ago by irmantas
This script parses the entered text and it gets all URLs from the text. It will then shorten those URLs and replace the long URLs with shortened ones in the text. If you need only the Shortener Services script, take a look at this snippet <a href="h...
1 1647 posted 15 years ago by stamba
This code will retrieve the url of a featured image in order to use it as a background.
0 1192 posted 15 years ago by jli
For several reasons, including portability, reducing download size, and general code neatness, I like to make all links within a website root relative.
0 1132 posted 15 years ago by weboholic
Limpiar y acortar la url a un enlace que apunta a Youtube
1 1134 posted 15 years ago by chuisxa
Based on http://snipplr.com/view/2734/get-full-url/
0 1294 posted 15 years ago by juanrossi
Separate the URL of the current page into an array of strings
1 1219 posted 15 years ago by r4b87
A source to help you interpreting URLs in plain text as a HTML link. It's an improvement of what was proposed here : http://snipplr.com/view/2371/regex-regular-expression-to-match-a-url/
3 2216 posted 15 years ago by keevkilla
on node/add/save redirect your to a url of your choice in Drupal 6 in your own custom module. (in this my module name is qctpmm, it's simply the content type of page and it's redirecting to user.)
0 1260 posted 15 years ago by redhatmatt
1 1933 posted 15 years ago by ptejada
To print out Drupal Arguments.
1 1075 posted 15 years ago by redhatmatt
Dear php coders, Here's a code block that you can use in your projects to get shorter long urls. Also recommend these articles about [ozon tedavisi](http://www.denizliozon.com) here. Have a nice coding.
0 1663 posted 15 years ago by jackoder
0 1208 posted 15 years ago by adampatterson
I couldn't easily find an example of how to verify if someone added my link to their site while they added their link to a directory of mine. After some research, I found out how to search for a string remotely. I have simplified the steps so that yo...
0 1116 posted 15 years ago by donkeykong
0 1220 posted 15 years ago by electblake
0 1638 posted 15 years ago by frankyfish
You have to add this code in your Bootstrap
1 1163 posted 15 years ago by asterfr
Creates a tiny url for posting on twitter etc.
1 2017 posted 15 years ago by vagrantradio