[JavaScript] HTTP Header Spoof

Flavio Gomes flavio at economisa.com.br
Tue Jun 29 10:06:32 CDT 2004


Well,

  In PHP I could do it, but the problem is that using it this way I'd 
still spent my php server stream to load the images/xmlfeeed,

  Right?

---
Flavio Gomes
flavio at economisa.com.br



Laurent Muchacho wrote:

>Hi Flavio,
>
>You might be able to hack the xmlhttp but your problem is not related to the
>xmlhttp your free server will probably have a set up to avoid your content
>be loaded from an other server or it's the server where you pay who doesn't
>allow loading img or external data from other source this is common use on
>hosting server company. It is the way for them to make sure you will pay.
>
>One thing in ASP if you want to load an external xmlfeed from your site you
>have to set it in the code like so 
>"""""""""""""
>set xml = Server.CreateObject("Microsoft.XMLDOM")
>xml.async = false
>xml.SetProperty "ServerHTTPRequest", true
>xml.load(xmlFeed)
>"""""""""""
>I'm really novice with PHP and can't give you the exact syntax but I'm
>pretty sure there is one.
>
>Laurent
>  
>



More information about the Javascript mailing list