Is it possible to add a local destination to method move_uploaded_file? example C:/foo/
I want to upload files, but store them outside the root folder, and use an alias to access the new destination.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here is the definition:
bool move_uploaded_file ( string $filename , string $destination )
In $destination you can put any valid path.
Be sure the directory security allows for writing for the user that webserver runs as.