How to add different images in php program like a job
site.......

Answer Posted / anand prakash

$img_name=$_FILES[img_var][temp_name];
$img_path="/images";
$img_test=move_uploaded_file($img_name, $img_path);
if($img_test){
Image uploaded successfully.
}

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you trim spaces in excel?

579


what is difference between PHP4 , PHP5

1959


Explain the types of functions for Splitting String?

622


Explain how we can get the number of elements in an array?

569


Is it possible to use com component in php?

606






Can we set session value in javascript?

590


Describe session in php.

584


What is the difference between explode and split?

544


What are the rules for naming a php variable?

613


What is the functionality of md5 function in php?

645


Why many companies are switching their current business language to php? Where php basically used?

561


Does php have future?

634


Is php secure?

583


What is html used for?

613


What is alias in php?

617