S
S
Schoolboy.2015-10-06 11:45:14
JavaScript
Schoolboy., 2015-10-06 11:45:14

How to upload file without page reload and without iframe?

This is the case, Did the file upload via iframe, everything worked fine on localhost! Now I transferred everything to hosting, the download script to one, and the site to another. And it turned out that due to the browser's security policy, the browser forbids me to read the contents of the iframe from another domain, more precisely from a subdomain. I tried to allow access with: Nothing worked! So I need a way to download a file and get a response without an iframe, all without reloading the page. header('Access-Control-Allow-Origin: *');

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DevMan, 2015-10-06
@viphorizon

www.uploadify.com

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question