So far I've been using this code for file uploading:
<?php
$dest_file = "new.txt";
$source_file=stripslashes($file_name);
$res_copy=copy($source_file , $dest_file);
echo($res_copy);
?>
It's been working great but now I wanna upload more than one file. However I don't wanna get into using arrays. Is there anyway of being able to upload whole directories by inputting the path "C:\files*.*"???????