Answer Posted / kapil dhiman
<?php
move_uploaded_file($_FILES['file']['tmp_name'],"images/".$_FILES['file']['name']);
?>
<form action="" method="post" enctype="multipart/form-data">
File<input type="file" name="file" /><input type="submit" name="sub" value="Upload" />
</form>
Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Which functions are used to remove whitespaces from the string?
Is php a mvc?
How to generate a character from an ascii value?
Tell me how to initiate a session in php?
Is laravel better than codeigniter?
What are the rules to declare a php variables?
why did u want to leave your past organisation?
What are the options to transfer session ids?
Which parts of php are case sensitive?
Is polymorphism inherited?
What is boolean in php?
How can we enable error reporting in php?
What are the features of object-oriented programming in php?
What is the function to count elements in an array in PHP?
What do you mean range() in php?