chey my thread:
http://www.phpbuilder.com/forum/read.php3?num=2&id=114291&loc=0&thread=114291
I had the same problem. Actually it's working fine with the 1x1pixel-IMG trick:
document.write("<IMG width=1 height=1 src=getit.php?id=234234&name=pipo>")
this IMG-tag will run your php-script without redirecting to it.
...if your server supports php, though!
The javaScript variables 'id' and 'name' will be available in php as $id and $name
check also tim's nice article:
http://www.phpbuilder.com/columns/tim19990130.php3
on the bottom of his first page, there's something about the 1x1-IMG trick. also include a random value in the img-tag to force it to reload rather than taking it out of the browser's cache.