You can use the below function:
move_uploaded_file($_FILES[“file”][“tmp_name”],
“upload/” . $_FILES[“file”][“name”]);
move_uploaded_file($_FILES[“file”][“tmp_name”],
“upload/” . $_FILES[“file”][“name”]);
For
more
tutorials you can visit our articles
or visit questions page http://www.webetutorial.com/question/upload-file-in-php/
You can join us on twitter
https://twitter.com/webetutorialcom or subscribe us on YouTube
https://www.youtube.com/channel/UCOOwypftpLyhJxeF-tUQXSw/videos?view_as=subscriber
for more web
design & development tutorials.
No comments:
Post a Comment