Hi,

I'm trying to read a web page, and set my own HTTP_ header var.

Dim objHTTP As Object
Set objHTTP = CreateObject("Microsoft.XMLHTTP")

objHTTP.Open "GET", "http://www.xxxxxx.com/e.php", bolGetAsAsync
objHTTP.setRequestHeader "X-HTTP_MYVAR", "this is me", False

objHTTP.send

Debug.print objHTTP.responseText

The script e.php just outputs the array $_SERVER.

However, I dont seem to be getting my HTTP_MYVAR variable in $_SERVER

Anyone know what I am doing wrong?

Thanks,

Rob.