Add link into textfield CMS

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
richo
Forum Commoner
Posts: 58
Joined: Sun Aug 06, 2006 11:56 am

Add link into textfield CMS

Post by richo »

Hi,

I'm building a CMS. I want the user to be able to insert a link into a textfield, to allow them to easily add links into their posts without knowing any HTML.

What would be the methodology of this?

Richo
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Re: Add link into textfield CMS

Post by Benjamin »

You can have them copy & paste the link then you can parse them out server side with regex...

http://www.google.com/search?hl=en&clie ... tnG=Search
Post Reply