Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • So I've been playing with this for almost two weeks now, and finally have a synchronous include() working in both Mozilla and IE, using a combination of XMLHttpRequest and TorgoX's <script> DOM thing.

    The problem with a pure <script> solution is that it doesn't have to be synchronous, so you can't use any of the libraries until onload. The problem with pure XMLHttpRequest is that it appears to be impossible to eval() something in the global scope from inside the include() function in IE (Moz can use

    The problem with not using <script src="..."> is that both IE and Moz's default security settings forbid cross-site scripting, so XMLHttpRequest can't request pages from other sites, most importantly from the JSAN site.