I am currently using the following code to upload images to an ftp server:
<input name="userfile" type="file" size="50">
…
$filep=$_FILES['userfile']['tmp_name'];
$name=$_FILES['userfile']['name'];
$upload = ftp_put($conn_id, $paths.'/'.$name, $filep, FTP_BINARY);
This works fine except that it only uploads one image.
Any help with multiple (3-4) image uploads pls.
Thanks in advance
1 Answer