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
How to include a file to a PHP page?
What is the tags in PHP is not a valid way to begin and end a PHP code block?
Does wordpress run on php 7?
What is the use of header() function in php?
What is repository in php?
How does php strcmp work?
What is session management php?
How does php work?
What are the rules to declare a php variables?
Tell me what is the use of the function htmlentities?
How is it possible to parse a configuration file?
What is session expiry?
What are the different ways to login to a remote server?
Is php strongly typed?
Why do we need abstract class in php?