Home >Backend Development >PHP Tutorial >Example of saving the image according to the original path after phpphp image collection_PHP tutorial
function mkdirs($pathname, $mode = 0755){
is_dir(dirname($pathname)) || mkdirs(dirname($pathname), $mode);
return is_dir($pathname) | | @mkdir($pathname, $mode);
}
?>