Make links with PHP from plain text   Released: 2007-11-25 10:15:20

A couple of months ago I needed some PHP code to create links from plain text.

It took a while to find the right stuff but what I found was a script that needed quite a bit of work.

The fruit of my labor was this function that will take plain text URLs like and turn them into

To use this function:

1. Take your copy, say $copy = "Lorem ipsum"; and feed it to the function like so, echo makeURL($copy)
2. Output would be "Lorem ipsum"

link from url create links make url PHP plain text to link

Follow with...
Recent Episodes This is new, Brooklyn to where?, Safety first Foot Powered, Construction Worker Shampoo, Trashy Blues Life Coaches, Prey Birds, Generation Lazy Faces, App Ideas, Gotta Chill Stellar Vibes, Flipping, Big Tickets With Strangers, Dirty Dirty, Resale Glory Vegas Inn, Patched Soul, Room and Board Uber This, The Store, Never Tug Janice Jokes, That Stone, Types Cold in The Hook, Hanging With Pauly, Life is Weird Fruit of the Tree, Branded Thanksgiving, ITYS
Listen with Home Episodes About Contact Website contents: Episodes, Text and Graphics are © Copyright 2004-2019 Palegroove Studios unless otherwise noted.