munnan
Dec 2 2005, 04:24 PM
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
Dec 2 2005, 04:26 PM
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?
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=3761Hopefully this is what you are looking for.
munnan
Dec 2 2005, 05:04 PM
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
Dec 3 2005, 09:02 AM
Try the uploaded_file function joe mentioned.