Passing Variables from JavaScript to PHP?
<p>I have just integrated Evercookie into my site, problem is it is written in JavaScript</p>

<p>I currently use a redirect to pass the variable to php </p>

<pre><code>&lt;script type="text/javascript"&gt;
// retrieve a cookie called "id" (simply)
    ec.get("uinwish", function(value) { window.location = "http://www.mysite.com?cookie=" + value  });
 &lt;/script&gt;
</code></pre>

<p>is there a better way than a redirect to pass JavaScript Values to PHP?</p>
