Jump to content

HTML links in submitted forms


leachus2002

Recommended Posts

Hi There,

 

Is there any way that when a user submits a form, but places a link inside - for example:

 

It is located at this location:

http://mylink.com

 

Is there any way that PHP can pick up the fact that there is a link there and tag it correctly so it is clickable?

 

Cheers

Matt

Link to comment
https://forums.phpfreaks.com/topic/224832-html-links-in-submitted-forms/
Share on other sites

Hi Dragon_Sa,

 

Thanks for that link, very impressive, however it only seams to link addresses that start with www. - some of our servers are local to the network, so would be http://server01, server02 etc etc. Is there any way to make it reconise these?

 

Cheers

Matt

I don't think it will be able to filter it if it's not a properly formatted URL.

 

Think about it: if server1 or server2 should link to the respective server, it means that any word will possibly be a link. It means then that every word will have to be checked and that will be both memory intense and damn slow.

 

That is ofcourse only if I understand your question correctly.  :D

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.