How do I pass a javascript variable into php without redirection?
For example the variable publisherid, how do I use it inside some php code


Code JavaScript:
<script type="text/javascript">
publisherid = 'something';
variable1 = 'something';
variable2 = 'something';
//your code can access these variables!
</script>
<script type="text/javascript" src="http://example.com/your-ad-serving-script.php"></script>