How to upload files from local directory?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
scarabee
Forum Newbie
Posts: 5
Joined: Sun Jun 18, 2006 3:45 am

How to upload files from local directory?

Post by scarabee »

I have seen that on some websites you can just specify a path to a local directory and some php code uploads all files in this directory. How do I do this? Can someone help me with either php code or info about how to do it on my own site?


Thanks, Sigurd!
User avatar
tecktalkcm0391
DevNet Resident
Posts: 1030
Joined: Fri May 26, 2006 9:25 am
Location: Florida

Post by tecktalkcm0391 »

User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Flash, Java and ActiveX can do it. PHP, by itself, cannot until it becomes a client side language with file system I/O.
Post Reply