/nasmail/functions/url_parser.phpurl_parser.php
This code provides various string manipulation functions that are used by the rest of the SquirrelMail code.
parseEmail (line 52)
Replaces email addresses with NaSMail compose links
parseUrl (line 95)
Converts URLs to html links opened in new window
replaceBlock (line 24)
Replaces part of text body with given replacement string
sq_strpos_8bit (line 179)
Finds first occurrence of 8bit data in the string
Function finds first 8bit symbol or html entity that represents 8bit character. Search start is defined by $offset argument. Search ends at $maxlength position. If $maxlength is not defined or bigger than provided string, search ends when string ends.
Check returned data type in order to avoid confusion between bool(false) (not found) and int(0) (first char in the string).
Documentation generated on Sun, 22 Nov 2009 17:36:53 +0200 by phpDocumentor 1.4.3