$func = 'image'.$type;
‐ ‐ ’ ’s ’ being ‐ being's ‐ ‐ ‐‐‐‐‐‐‐‐ ‐ uniqid().'.'.$type;
}else{
$pathinfo = pathinfo($soruce);
//var_dump($pathinfo);
pathinfo['filename'].'.'.$type;
pathinfo[' $func($soruceRes,$path);
The function of the picture
FUNCTION Open ($ PATH)
{
// Determine whether the file exists
if (! File_exist ($ PATH))
{
Exit (the file does not exist ');
}