Skip to content
Advertisement

How to copy a file then rename it based on input field via buttonclick?

Good day experts!

I want to copy a file and rename it based on input value via button click. MY code is not working. There is no file being copied nor being renamed. Here’s my code:

JavaScript

Advertisement

Answer

i think this is what you looking for:

JavaScript

copy.php :

JavaScript
User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement