Re: possible to get a function from another domain

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
To: "Gustav Wiberg" <gustav@xxxxxxxxxxxxxx>
Cc: "PHP General" <php-general@xxxxxxxxxxxxx>
Sent: Tuesday, August 23, 2005 9:45 PM
Subject: Re:  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@xxxxxxxxxxxxxx> 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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux