Create New Folder For Each Day an Upload Occurs
Copy this code and paste it in your HTML
// Determine Upload Path
$upload_path = $upload_root. date('m-d-y', time());
// If Directory for Today's Uploads Does Not Exist Already, Let's Create It
{
mkdir($upload_path, 0777, true); }
Report this snippet
Comments
Subscribe to comments