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


Please Help Members By Posting Answers For Below Questions

What is strstr php?

527


What is ci framework in php?

499


What is laravel php?

537


Tell me what is needed to be able to use image function?

541


How can you encrypt password using php?

517






How to define a user function?

570


What is ltrim?

515


am from coimbatore.am learning php&mysql. what will be the approx salary for me if i get a job in coimbatore.

1549


Write a php function to convert all null values to blank?

786


What are regular expressions in programming?

504


How break and continue while loop in php?

488


How you can update memcached when you make changes to php?

616


What is polymorphism php?

502


How to invoke a user function?

547


What is php date function?

570