need some modifications

Status
Not open for further replies.
6 comments
You can use the same procedure as you do now with a single image, but do it in a loop.
$lines = explode("\n", $_POST['textarea']);
if(count($lines) > 30) {
die('Too many files');
}
foreach($lines as $line) {
$srcfile
= trim($line);
//copy $srcfile here
//check size of the file with filesize()
}
 
Status
Not open for further replies.
Back
Top