jeudi 27 décembre 2018

Set "url" in Form with Fileupload

I want to set the URL to account.php?action=... but it always set the URL to account.php?file=... How can i avoid this?

<form action="account.php?action=uploadprofileimage" enctype="multipart/form-data">
    <div id="uploadprofileimagewrapper">
        <input id="uploadprofileimage" type="file" name="file" onchange="form.submit()">
    </div>
</form>

so how can I set the "URL"?

I want to disable the file=... or when its necessary have both in the URL so file=... and action=...

thanks for your help




Aucun commentaire:

Enregistrer un commentaire