I am trying to pass a variable from evercookie to PHP using New Image() but i am a total novice at Javascript and cant seem to get it working.
This is the script i am using
<script type="text/javascript">
ec.get("uinwish", function(value) {
var img = new Image();
img.src = "http://www.mjyserver.com/trackclick?d=" + value;
return false;
)}
</script>
On load is loaded only if “http://www.myserver.com/trackclick?d=” is actually an image that can be displayed. If you want to call php script why don’t you all $.get jquery function