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 do you use an array in excel?

0 Answers  


I have two radio button, i click one radio button display one dropdown box, one text field. and then click another radio button display one text field.so any one give me good idea plz.....i used <div id="" style=display:none> but not work..

4 Answers  


Require_once(), require(), include(). What is difference between them?

0 Answers  


Can you give example for trait in php?

0 Answers  


What are the differences between require and include?

0 Answers  


Tell me what is the definition of a session?

0 Answers  


What are the functions used in php?

0 Answers  


What was the old name of php?

0 Answers  


What are the advantages of indexes?

0 Answers  


What are objects in php?

0 Answers  


What is a php trait?

0 Answers  


What is an object in php?

0 Answers  


Categories