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 add file in php?

1 Answers   CTS,


Why sessions are used in php?

0 Answers  


what is php stands for?

23 Answers   Infosys, Satyam, Torque Infotech,


How can we submit from without a submit button?

0 Answers  


What is the function used to change the root directory in PHP?

0 Answers  






What are the Advantages and Application Areas of PHP?

0 Answers  


What is overloading in php?

0 Answers  


How to make multilanguage site in php? (like english,tamil)

2 Answers  


Tell me is it possible to protect special characters in a query string?

0 Answers  


How many types of session are there?

0 Answers  


What is php default argument?

0 Answers  


What is the role of php.ini file?

0 Answers  


Categories