RE: XMLHTTP, setting my IP Address Header
Posted on 2004-08-24
Hey all, what i'm trying to do is call up my webpage and have my web page show the ip address that i give it when i do, <%=request.serverVariables("remote_addr")%>. Right now it shows my ip address 220.127.116.11 , but i want to trick it and think i'm 18.104.22.168. I know how to do it with the user-agent but i can't seem to figure out how to change the ip address. Please let me know, thanx all.
set xmlhttp = server.Createobject("MSXML2.ServerXMLHTTP")
xmlhttp.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
xmlhttp.setRequestHeader "Host", "www.mysite.com"
xmlhttp.setRequestHeader "Referer", "http://login.mysite.com"
xmlhttp.setRequestHeader "User-Agent", "Mozilla/4.7 [en] (Win98; U)"