I couldn't do a xmlhttp.open("GET","website.com", true)
The problem was something along the lines of the script not being allowed to call a page from another domain or something..

Is there some way to make it work anyway? =(

Sha11e,

You are trying to do something called "cross-domain ajax", which violates all the latest browsers' security models (why? is another question). IE5 and IE6 were OK with this, but nothing before or since.

Try googling "cross-domain ajax" for some good discussions and solutions.

Personally, I like the flXHR by solution by flensed.

Airshow

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.