...

View Full Version : Messing with links.



phpnewbie
01-29-2007, 05:49 AM
Hello everyone. I am currently trying to learn php so I can write my own scripts. I am currently wanting to modify a forum I have. I want it to automatically put links in code brackets.

Say someone posts the link
www.cavernforum.com I want the script to automatically put the code and /code box tags around it. How do I go about doing that?

I don't even know where to begin with this.

gunman
01-29-2007, 09:05 AM
You should read string functions in php such str_replace, preg_match, preg_replace.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum