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 generate a form?

1 Answers  


What is the purpose of using php?

1 Answers  


What is the use of mysql_fetch_assoc in php?

1 Answers  


Write down the code for save an uploaded file in php.

1 Answers  


Where is my php ini file?

1 Answers  


What distinguishes php from something like client side java script?

1 Answers  


Which Scripting Engine PHP uses?

1 Answers  


=== represents what?

2 Answers   Ephron Systems, NetTrackers,


What is difference between readonly and constant?

1 Answers  


What new features php7 has in store for us?

1 Answers  


Why do you need to filter out empty files?

1 Answers  


Explain the casts allowed in PHP?

1 Answers  


Categories