[advanced search]
Results from the most recent live auction are here.
20 members in the live chat room. Join Chat!
Register Rules & FAQ NP$ Store Active Threads Mark Forums Read
Domain Name Industry Newsletter
Go Back   NamePros.Com > Design and Development > Programming
User Name
Password

Old 04-09-2006, 09:13 AM   · #1
Amnezia
SEO and Marketing Guy
 
Amnezia's Avatar
 
Location: Escaped from the zoo
Trader Rating: (8)
Join Date: Jul 2005
Posts: 907
NP$: 398.50 (Donate)
Amnezia has a spectacular aura aboutAmnezia has a spectacular aura about
Cancer Survivorship
AJAX XMLHttpRequest

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?


Please register or log-in into NamePros to hide ads
Amnezia is offline   Reply With Quote
Old 04-11-2006, 05:49 PM   · #2
BillyConnite
 
BillyConnite's Avatar
 
Name: Rhett
Location: Coffs H, Australia
Trader Rating: (77)
Join Date: Jul 2005
Posts: 3,106
NP$: 47.00 (Donate)
BillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant future
Wildlife Parkinson's Disease Parkinson's Disease
Originally Posted by Amnezia
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...ed-harmful.html

Around the 2nd or 3rd paragraph down

Rhett.
__________________
<?php if(1===1){ $computer="fine."; }else{ $computer="broken."; } echo "Your computer is ".$computer; ?>
BillyConnite is offline   Reply With Quote
Old 04-11-2006, 09:00 PM   · #3
Jim_
NamePros Regular
 
Jim_'s Avatar
 
Name: Jim, of course
Location: Philadelphia
Trader Rating: (20)
Join Date: Aug 2005
Posts: 558
NP$: 14.30 (Donate)
Jim_ is a glorious beacon of lightJim_ is a glorious beacon of lightJim_ is a glorious beacon of lightJim_ is a glorious beacon of lightJim_ is a glorious beacon of light
Save The Children
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.
__________________
woop woop
Jim_ is offline   Reply With Quote
Old 04-12-2006, 12:55 AM   · #4
Amnezia
SEO and Marketing Guy
 
Amnezia's Avatar
 
Location: Escaped from the zoo
Trader Rating: (8)
Join Date: Jul 2005
Posts: 907
NP$: 398.50 (Donate)
Amnezia has a spectacular aura aboutAmnezia has a spectacular aura about
Cancer Survivorship
thanks guys, i managed to get around it by using AJAX to call a php curl() function
Amnezia is offline   Reply With Quote
Old 04-12-2006, 01:30 AM   · #5
BillyConnite
 
BillyConnite's Avatar
 
Name: Rhett
Location: Coffs H, Australia
Trader Rating: (77)
Join Date: Jul 2005
Posts: 3,106
NP$: 47.00 (Donate)
BillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant future
Wildlife Parkinson's Disease Parkinson's Disease
Originally Posted by Jim_
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!
Originally Posted by Amnezia
thanks guys, i managed to get around it by using AJAX to call a php curl() function


Glad to hear it
__________________
<?php if(1===1){ $computer="fine."; }else{ $computer="broken."; } echo "Your computer is ".$computer; ?>
BillyConnite is offline   Reply With Quote
Closed Thread

NamePros is a revenue sharing forum.

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Site Sponsors
EscrowDNS Website Header Design Website Header Design
Advertise your business at NamePros
All times are GMT -7. The time now is 09:18 AM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0