I am trying to upload file using php. I am using the function move_uploaded_file. However it work okay in my local machine but when I test it in the server , it is not working. How can I know what is missing in my server.
Thanks IN advance.
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.
file_uploadsmust be On.upload_max_filesizesize of the file uploaded.post_max_sizeof the data you’re submitting.max_input_timeas well.Check if those variables in
php.iniare in sync with your local server or, if you don’t have access to the target server’s settings, make your local ones the same and work on that.