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 22.214.171.124 , but i want to trick it and think i'm 126.96.36.199. 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)"