Help - Search - Members - Calendar
Full Version: Upload Files In Password Protected Folder
Weborum Webmaster Forum > Web Page Design > PHP
munnan
Sir i'm trying to Upload files in a Password protected Directory on Linux Server by PHP code. but i failed. Can anyone help me out that how can i upload my files in a password protected folder ??
Waleed
I'm not too sure on this, but are you sure it isn't some permissions issue? I mean do you have appropriate priveleges for uploading, and to that folder specifically?
Joe
You want to use PHP's uploaded_file function then. I wrote a tutorial here about uploading files, the same rule applies (it's for an image gallery, but could be easily converted to upload other files).

http://forum.weborum.com/index.php?showtopic=3761

Hopefully this is what you are looking for.
munnan
i don't think so because before password protection to that folder i've upload files to that folder and as i made that folder password protected it don't let me to upload my files in it
Waleed
Try the uploaded_file function joe mentioned.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.