I want to create the folder with the first character of the image name using PHP. I have simple upload form please help me to create action page.
thanks.
$image_name = "test.jpg";
$first_char = substr($image_name, 0, 1);
mkdir($first_char);
substr() mkdir()