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 are php variables?
What is the use of callback in php?
How do you execute a php script from the command line?
Explain Traits in PHP?
Can the value of a constant change during the script's execution?
How can you tell if a number is even or odd without using any condition or loop?
How to add comments in php?
What is framework in php for beginners?
What is the difference between core php and php?
Explain me what are the differences between mysql_fetch_array(), mysql_fetch_object(), mysql_fetch_row()?
What does $_server mean?
What is php's mysqli extension?
Do you know how can php and html interact?
What is the difference between for and foreach?
What is the correct and the most two common way to start and finish a php block of code?