Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
i need the member to be able to upload files via the front-end (png/jpg or pdf image type). So I created a form that contains the
<input type="file" id="inputFile" name="inputFile"/> tag.
<input type="file" id="inputFile" name="inputFile"/>
These files need to be converted to base64, but to do this I need the client path of file. The problem arises from the fact that the path I acquire is something like this:
How can this problem be circumvented? An alternative idea on file upload?
Thank you very much.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted