Forum Moderators: open
ie:
xmlHttp=GetXmlHttpObject()
if (xmlHttp==null)
{
alert ("Browser does not support HTTP Request")
return
}
var url="http://www.ANOTHER-SITE/receive_post.php"
xmlHttp.onreadystatechange= function() { stateChanged(xmlHttp) }
xmlHttp.open("POST",url,true)
xmlHttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded")
xmlHttp.setRequestHeader("Content-length", params.length)
xmlHttp.setRequestHeader("Connection", "close")
xmlHttp.send(params)
}
I dont understand the logic of the cross domain restriction
Phishers could definitely use it to fool you into thinking that you are dealing with one site, while quietly working with another server behind the scenes.
If you've ever hit a pr0n site (I read them for the articles, I swear!), and seen the Javascript havoc they wreak, you can imagine what fun they could have if their ads could start a bunch of server connections that basically act as push agents.
No need for popups or pop unders.
Phishers could definitely use it to fool you into thinking that you are dealing with one site, while quietly working with another server behind the scenes.
Agree, but surely they can do the same thing by going via there own server using php includes or whatever to relay the content. Seems a pretty crude fix to me.