I have a php page with some functions to recieve POST data, with a page refresh, no AJAX.
Right now I have a form with hidden fields that contain my dynamic data that I send with JS like so: document.my_form.submit();
Is it possible to send the data without using a form?
Basically I want to send an array of URL's from a list with thumbnails, so my function loops over the list and pushes them in arrays.
<img>and<script>tags are allowed to have cross-domain URLs. If it were possible to make one of those URLs do a "POST" instead of a "GET" (in a way that the browser didn't know it was happening), then there'd be an unstoppable CSRF problem.