kumarrana Posted August 11, 2008 Share Posted August 11, 2008 I am looking for some ideas or links to read online materials. I need help on formatting such as auto-link for www, auto-mailto for [email protected]. Moreover I just finish writing blog but any contents posted by user can't be appeared as they typed (Like paragraph, alignment, and so on). I was thinking about writing config file and "include" on all PHP files but I just don't have any idea on how to create a config file that do all what I just explained. Quote Link to comment https://forums.phpfreaks.com/topic/119122-php-formatting/ Share on other sites More sharing options...
GingerRobot Posted August 11, 2008 Share Posted August 11, 2008 For detecting links in a piece of text, you'll need to do some reading into regular expressions. If you google for php bbcode tutorials, im sure you'll find a relevant introduction to this sort of thing. Quote Link to comment https://forums.phpfreaks.com/topic/119122-php-formatting/#findComment-613353 Share on other sites More sharing options...
JasonLewis Posted August 11, 2008 Share Posted August 11, 2008 I recently had trouble with auto-linking. Here is the related thread: http://www.phpfreaks.com/forums/index.php/topic,209924.0.html Quote Link to comment https://forums.phpfreaks.com/topic/119122-php-formatting/#findComment-613355 Share on other sites More sharing options...
kumarrana Posted August 11, 2008 Author Share Posted August 11, 2008 That is very helpful. Quote Link to comment https://forums.phpfreaks.com/topic/119122-php-formatting/#findComment-614104 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.