|
Posted by Kimmo Laine on 10/14/18 11:33
"Matthijs Holter" <fjernspam.matthijs1000@fjernspam.hotmail.com> wrote in
message news:24Yjf.8564$qE.1893326@juliett.dax.net...
> Is it possible to upload an entire folder - not just one file - using PHP?
>
> Alternatively, is it possible to detect the contents of a specified folder
> and upload all the files from that folder?
>
I'm assuming you mean that upload from client to server. The problem is that
the files are at client, and php only operates in the server. I have seen
something like uploading multiple files, but that required an ActiveX
component, which has nothing to do with php.
When uploading files, there's always the security-issue. User has to be the
person controlling which files to upload and which not. For large file
transfers there are alternative protocols such as ftp, which is more
suitable for uploading batches of files.
--
"En ole paha ihminen, mutta omenat ovat elinkeinoni." -Perttu Sirviφ
antaatulla.sikanautaa@gmail.com.NOSPAM.invalid
Navigation:
[Reply to this message]
|