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
What does a dependant variable mean?
How is it possible to set an infinite execution time for php script?
What is difference between session_unset and session_destroy?
How to set cookies in PHP?
Is php harder than javascript?
What is the use of "enctype" attribute in a html form?
What is the use of return in php?
What is escaping to php?
Explain PHP?
Why do we use in php?
What does mysqli_query return?
What are the characteristics of php?
What is use of header() function in php? What the limitation of header()?
Why do we use inheritance in php?
What are the rules to determine the “truth” of any value which is not already of the boolean type?