How to transfer data to PHP script from iframes in this case?
I will use this upload image script in big form on my site to upload images.
This script allows user to upload few images. When user will fill the form and upload images and press Submit button, I need to transfer images data to PHP script using POST method. How can I do that?
The second question is how can I limit number of uploaded images using JS? And how can I allow users to delete uploaded images (before PHP script will save them) using just JS?
I've attached source code.