Re: possible to get a function from another domain
| From: | Jasper Bryant-Greene | Date: | Tue, 23 Aug 2005 19:57:55 +0000 |
| Subject: | Re: possible to get a function from another domain | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-221203@lists.php.net to get a copy of this message | ||
Gustav Wiberg wrote:
Hi! Njae I have a webshop and want to see a price from another webshop online (directly). Let's call my webshop - varupiraten.se and the other webshop - inwarehouse.se I want to be able to see what price inwarehouse.se has for a certain product directly. (without no copying). Of course I have to know the implemenation of the code that inwarehouse.se has given to varupiraten.se Do you understand what I'm trying to do? :-)If it was me, I'd just implement a little XML interface on inwarehouse.se that can be called like http://inwarehouse.se/xml?productID=54385 and returns some XML data for that product. Then call it from varupiraten.se and parse the XML. Jasper