Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //cartella
- mkdir("common/download/$step_id", 0777);
- //file
- $path=$riga_download['path'];
- $file=$riga_download['mp3_url'];
- $src="audio_files/".$path."/".$file;
- $dest="common/download/".$step_id."/".$file;
- @copy($src, $dest);
- touch($dest, filemtime($src));
Add Comment
Please, Sign In to add comment