I am getting Copying issue with my code, when i use only one single url it works but if i get multi url from explode function and call them it gives me an error please help me i have a problem in my copy() function let me show my code. any help will be appreciated thanks!
for($i=0; $i<count($mp3_filepath); $i++)
{
$sname = $default_mp3_directory.$mp3_folder.$mp3_filepath[$i];
if(copy($mp3_filepath[$i],$mp3_filepath[$i])){
$size = friendly_size(filesize(basename($sname)));
echo"<br />Copied <a href='$mp3_filepath[$i]'>$mp3_filepath[$i]<a> to <a href='$sname'>".basename($sname)."</a> ( $size )";