-
From: Rory Browne [EMAIL PROTECTED]
To: Jim Moseby [EMAIL PROTECTED]
Cc: php-general@lists.php.net
Sent: Tuesday, August 23, 2005 10:21 PM
Subject: Re: [PHP] possible to get a function from another domain
I withdraw my information in my earlier post.
I was in a cybercafe in a hurry
: Re: [PHP] possible to get a function from another domain
I withdraw my information in my earlier post.
I was in a cybercafe in a hurry - and didn't have time to consider
what was said, nor what I was saying myself.
What I said before has little or not merit.
You can make an experimental
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
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 Wiberg wrote:
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
What exactly do you mean
@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
[snip]
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
?
/G
@varupiraten.se
- Original Message -
From: Jasper Bryant-Greene [EMAIL PROTECTED]
To: php-general@lists.php.net
Sent: Tuesday, August 23, 2005 9:47 PM
Subject: Re: [PHP] possible to get a function from another domain
Gustav Wiberg wrote:
Is it possible in PHP to retrieve value
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
[snip]
Can I use require with http?
My domain: www.varupiraten.se
Other domain: www.webshop2.se
Does this kind of code work?
Code for my domain:
?php
require(http://www.webshop2.se/externfunctions.php);
$x = getValueFromProduct('Inno AX5000'); //This function retrieves price
from webshop2.se
[snip]
Can I use require with http?
My domain: www.varupiraten.se
Other domain: www.webshop2.se
Does this kind of code work?
Code for my domain:
?php
require(http://www.webshop2.se/externfunctions.php);
$x = getValueFromProduct('Inno AX5000'); //This function
retrieves price
I withdraw my information in my earlier post.
I was in a cybercafe in a hurry - and didn't have time to consider
what was said, nor what I was saying myself.
What I said before has little or not merit.
You can make an experimental interface, and parse the html without the
other domain owners
12 matches
Mail list logo