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

Answers were Sorted based on User's Feedback



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

Answer / 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

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

Answer / anand prakash

move_uploaded_file ( string $filename , string $destination )

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More PHP Interview Questions

How to replace a text in a string with another text in php?

0 Answers  


What is the difference between single quoted string and double quoted string?

0 Answers  


is php is the best for this situation

2 Answers  


What is lazy loading in php?

0 Answers  


Tell me how can we determine whether a php variable is an instantiated object of a certain class?

0 Answers  


Does php need html?

0 Answers  


How can we find the number of rows in a result set using PHP?

4 Answers  


Can you explain, when to use if-else if-else over switch statements?

0 Answers  


Why sessions are used in php?

0 Answers  


What is the difference between get & post ?

0 Answers  


What is the difference between print() and echo()?

0 Answers  


What is var_dump function in php?

0 Answers  


Categories