Re: possible to get a function from another domain
| From: | Gustav Wiberg | Date: | Tue, 23 Aug 2005 19:56:35 +0000 |
| Subject: | Re: possible to get a function from another domain | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-221200@lists.php.net to get a copy of this message | ||
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? :-)
/G
@varupiraten.se
----- Original Message ----- From: "Rory Browne" <rory.browne@gmail.com>
To: "Gustav Wiberg" <gustav@varupiraten.se>
Cc: "PHP General" <php-general@lists.php.net>
Sent: Tuesday, August 23, 2005 9:45 PM
Subject: Re: [PHP] possible to get a function from another domain
I'm not sure I understand but:
You define a function on one machine;
You want to use that function on another machine;
If I understand you correctly, then you should be able to just
cp function_server.php function_server.txt
,
and include it over http
and done
On 8/23/05, Gustav Wiberg <gustav@varupiraten.se> wrote:
hi there! Is it possible in PHP to retrieve value from one domain to another than my own? Something like this: Other domain: function getValueForMp3Player() My domain: $price = getValueForMp3Player('Inno AX VB4393') //retrieves value from other domain /G @varupiraten.se -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.14/79 - Release Date: 2005-08-22