Sign Up

welcome

Already have an account? Sign In

Sign In

welcome

Sign Up
Login with Google

Don't have account, Sign Up Here
Sign In Sign Up

letsrectify

letsrectify
  • Home
  • About Us
  • Contact Us
  • Jobs
Ask a Question
Home
aman
Asked: 23-02-22

Image upload in php

  • 3

//image upload using php

   $file = $_FILES["uploadimagefile"]["name"];

   $tempname = $_FILES["uploadimagefile"]["tmp_name"];

   $folder = "/image/".$file;

   if (move_uploaded_file($tempname, $folder))

   {

       $msg = "Image uploaded successfully";

   }

   else

   {

       $msg = "Failed to upload image";

   }

Share
  • Facebook

0 More Answers

  • Answers
Cancel reply

Sidebar

Ask A Question
letsrectify

Categories

  • Technology
  • Food
  • Health
  • Sports
  • Science
  • Politics
  • Marketing

Policies

  • Terms & Conditions
  • Privacy Policy

About Us

  • About Us
  • Contact Us
  • Feedback

© 2025 All Rights Reserved by
Letsrectify.com