Welcome To Snipplr
Everyone's Recent PHP Snippets Tagged url
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Function replaces all non-alpha-numeric chars and cleans up a text string. Should output a usable URL for almost all text.
1
1128
posted 16 years ago by DaveChild
Very minimal. Some homegrown API seeds from a while ago. Just posting for use as some php examples.
0
883
posted 16 years ago by mandric
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
1272
posted 16 years ago by jaytee
ej:
echo keepqsSinParametro('hola','hola=mundo&mundo=lindo&hola=chau'); #out = mundo=lindo
0
895
posted 17 years ago by nicolaspar