Hello,
i’m fairly new to ajax. I have a page, 1.php, that loads 2.php using ajax. 2.php is protected by ssl and basic authentication, and 1.php is an unprotected page.
i’ve been trying to load 2.php using ajax with no luck.
if 1.php is loaded using https, 2.php would load up just fine(prompt user for username and password). however if 1.php is loaded using HTTP, the call to 2.php using HTTPS won’t work using XMLHttpRequest.open. it throws this error:
Error: uncaught exception: [Exception… “Access to restricted URI denied” code: “1012” nsresult: “0x805303f4 (NS_ERROR_DOM_BAD_URI)” location: “
could someone point me to a right direction?