Php file transferring command is not working

Website URL

social-media.000.pe

Error Message

I created a file name “upload.php” in my htdocs directory.

And I use a form in this file to collect image.

But I use move_uploaded_file($tmp_name,“IMG/”.$name);

But the image don’t show in IMG file. What’s the wrong? Please solve. I have to learn php as soon as possible.

You are going to have to share more code then that. It may also be beneficial to turn on error logs and try again (Control Panel → PHP Config → Error Logs to “on”).

7 Likes

Thanks for your feedback. I could fix it. Thanks for your immediate reply.

Md Safiqul Islam Sabid
:brown_heart: From Bangladesh.

Can I know county name or details about you. I want to know for further support.

If you’ve privacy problem I don’t mind.:blush:

I am not sure how having my information will help you get support, but I currently reside in North America.

4 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.