so I started the project.
Actually the project isn't so bad. .... so far
How do you retrieve a plain text file (for a html text area) and have it automatically create hyperlinks for url's and email? If possible please have it based off the below code which works well with retrieving the file and adding <BR> for returns:
<?php print nl2br(implode('', file($MyPath.'text1.txt'))); ?>
NOTE: The reason for the above code: I'm using preformatted text to maintain basic list style and need the <BR> added to maintain returns for long lines.
... I forgot, also what is the best way of insuring that harmful <tags> will not be used with the code?
Many Thanks,
Steve


