PEEL Shopping
Open source ecommerce : PEEL Shopping
|
Go to the source code of this file.
Functions | |
RemoveFromStart ($sourceString, $charToRemove) | |
RemoveFromEnd ($sourceString, $charToRemove) | |
FindBadUtf8 ($string) | |
ConvertToXmlAttribute ($value) | |
IsHtmlExtension ($ext, $htmlExtensions) | |
Check whether given extension is in html etensions list. More... | |
DetectHtml ($filePath) | |
Detect HTML in the first KB to prevent against potential security issue with IE/Safari/Opera file type auto detection bug. More... | |
IsImageValid ($filePath, $extension) | |
Check file content. More... | |
DetectHtml | ( | $filePath | ) |
IsHtmlExtension | ( | $ext, | |
$htmlExtensions | |||
) |
IsImageValid | ( | $filePath, | |
$extension | |||
) |
Check file content.
Currently this function validates only image files. Returns false if file is invalid.
string | $filePath | absolute path to file |
string | $extension | file extension |
integer | $detectionLevel | 0 = none, 1 = use getimagesize for images, 2 = use DetectHtml for images |
This documentation for Open ecommerce PEEL Shopping and PEEL.fr has been generated by Doxygen on Thu Oct 15 2015 14:41:40 - is a product of SAS. All rights reserved.