[ Index ] |
PHP Cross Reference of osCMax 2.0.4 |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 220 lines (5 kb) |
Included or required: | 2 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
RemoveFromStart( $sourceString, $charToRemove ) X-Ref |
No description |
RemoveFromEnd( $sourceString, $charToRemove ) X-Ref |
No description |
FindBadUtf8( $string ) X-Ref |
No description |
ConvertToXmlAttribute( $value ) X-Ref |
No description |
IsHtmlExtension( $ext, $htmlExtensions ) X-Ref |
Check whether given extension is in html etensions list param: string $ext param: array $htmlExtensions return: boolean |
DetectHtml( $filePath ) X-Ref |
Detect HTML in the first KB to prevent against potential security issue with IE/Safari/Opera file type auto detection bug. Returns true if file contain insecure HTML code at the beginning. param: string $filePath absolute path to file return: boolean |
IsImageValid( $filePath, $extension ) X-Ref |
Check file content. Currently this function validates only image files. Returns false if file is invalid. param: string $filePath absolute path to file param: string $extension file extension param: integer $detectionLevel 0 = none, 1 = use getimagesize for images, 2 = use DetectHtml for images return: boolean |
Generated: Fri Jan 1 13:43:16 2010 | Cross-referenced by PHPXref 0.7 |