Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not Receiving $_FILE in PHP #64

Open
teamcoltra opened this issue Dec 31, 2016 · 2 comments
Open

Not Receiving $_FILE in PHP #64

teamcoltra opened this issue Dec 31, 2016 · 2 comments
Labels

Comments

@teamcoltra
Copy link

To be honest, I am an idiot on how $_FILE actually works but it seems as though the code only sends the raw file to PHP and doesn't send it like normal files arrive when I use a standard HTML form.

I have seen other questions about this like on http://stackoverflow.com/questions/25698444/filedrop-js-php-resulting-in-empty-files

There is a solution there that DOES work but it doesn't really fit the system that I have already built. I am not sure how to properly ask the question, but is there a way to get the files to respond how they would if I was to submit this form:

<form action="index.php" method="post" enctype="multipart/form-data">
	<input type="file" name="test[]" id="test" multiple>
	<input type="submit" value="Upload Image" name="submit">
</form>

I am not asking you to implement the feature, per-se just wondering if I am doing something wrong.

@teamcoltra
Copy link
Author

Side note: I realize I can just drag and drop into the above form without FileDrop but that doesn't give me auto-uploading, or the nice HTML customization, or any of the other nice tools that file drop has.

@ProgerXP
Copy link
Owner

ProgerXP commented Jan 1, 2017

It was already asked before: #63

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants