I want to insert files into mysql from php function. The files that need to be uploaded are already present on the server, so I don't want to use the upload form.
Ben dizine döngü istiyorum ve $_FILES içine dosyaları bilgi almak.
Bana $_FILES içine $file olsun ve sonra yükleme arayacak nasıl iletebilirsiniz.
$dir_handle = @opendir($path) or die("Unable to open folder");
while (false !== ($file = readdir($dir_handle))) {
echo "$file";
}