Skip to content
Advertisement

PHP Upload pdf file and replace the file name with a custom one

I have a problem, I can’t get php to replace the name of the pdf with “$fiscale”. I am a new php user and I would need a hand. Thanks to everyone for the possible answers: 3 (I am creating a site that allows you to upload pdfs with a name chosen at the beginning.)

php:

JavaScript

html:

JavaScript

Advertisement

Answer

Try using:

JavaScript

instead of

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