Dynadot โ€” .com Registration $8.99

AJAX XMLHttpRequest

Spaceship Spaceship
Watch

Amnezia

Professional MonkeyEstablished Member
Impact
15
I kinda new to AJAX :)

It seems i can call php scripts on my own server using XMLHttpRequest but i cant query php scripts on other peoples sites?

Is this possible? if so how?
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
Amnezia said:
I kinda new to AJAX :)

It seems i can call php scripts on my own server using XMLHttpRequest but i cant query php scripts on other peoples sites?

Is this possible? if so how?
:( I dont think this is possible, with php you can alter the settings to allow it, but not with AJAX.

I've never used it myself, yet, but you might want to read this about it: http://www.xml.com/pub/a/2005/11/09/fixing-ajax-xmlhttprequest-considered-harmful.html

Around the 2nd or 3rd paragraph down :)

Rhett.
 
0
•••
If you want to query another page, create a php script on your server that loads the external page (include() maybe?) and load it with ajax.
 
0
•••
thanks guys, i managed to get around it by using AJAX to call a php curl() function
 
0
•••
Jim_ said:
If you want to query another page, create a php script on your server that loads the external page (include() maybe?) and load it with ajax.
Smart!
Amnezia said:
thanks guys, i managed to get around it by using AJAX to call a php curl() function
Glad to hear it :)
 
0
•••
Dynadot โ€” .com Registration $8.99Dynadot โ€” .com Registration $8.99
Appraise.net
Unstoppable Domains
Domain Recover
NameMaxi - Your Domain Has Buyers
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back