
Solid, safe website tools.
Whatever your need, Will Bontrager builds powerful software solutions.
|
(Get Attention Ticker for your web site)
Ajax Content From Other DomainsBy Will Bontrager Ajax has a built-in restriction allowing it to retrieve content only from its own domain. In other words, the domain where the web page is loaded into the browser is the only domain Ajax can retrieve content from. This article shows you how to get around that restriction. Ajax asks PHP or CGI or other software on the server to go get the content on another domain. That software gets the content and hands it to Ajax. The article has both the PHP and the Perl CGI software, to give a choice of which to use. To block cross-site scripting, the software presented with the article is restricted to getting content only from domains you so specify. Consider that the output of software on other domains can be inserted into the web pages of yours. It is satisfying and pleasing to use Ajax this way. Click here for the complete article. July 8, 2008 Please note: Articles on this website are presented "as is". However - If you have a question about a CGI script, HTML, CSS, PHP, or JavaScript
Rate this blog post.
No page reload! |
|
|
© 1998-2001 William and Mari Bontrager |
|