hey friend
i need help, i am working on a youtube uploader base on js php
the problem is the youtube api only give i way to upload one file at a run
i have one form that take the file uploaded and some some staf on it
like geting the api url code from youtube
then i want it to give it to anouter form and he will make the upload
so i created 2 forms in a sort run i need a away to give the file parmater that i gave
in one from input = file
as a value to anouter form input =file i use js
קוד:
formData.append('file[]',document.getElementById('userinputfile').files[0]);
the 1 value is the second input = file name
the 2 is the file value from first input =file name
when i use alert on it it giving me [object]
but when i try to upload from it i get nothing
thank any help will be good
sorry about the long sorry
good night