Re: [PHP] possible to get a function from another domain

2005-08-26 Thread Rory Browne
- 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

2005-08-24 Thread Gustav Wiberg
: 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

[PHP] possible to get a function from another domain

2005-08-23 Thread Gustav Wiberg
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

Re: [PHP] possible to get a function from another domain

2005-08-23 Thread Rory Browne
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

Re: [PHP] possible to get a function from another domain

2005-08-23 Thread Jasper Bryant-Greene
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

Re: [PHP] possible to get a function from another domain

2005-08-23 Thread Gustav Wiberg
@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

RE: [PHP] possible to get a function from another domain

2005-08-23 Thread Jay Blanchard
[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

Re: [PHP] possible to get a function from another domain

2005-08-23 Thread Gustav Wiberg
? /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

Re: [PHP] possible to get a function from another domain

2005-08-23 Thread Jasper Bryant-Greene
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

RE: [PHP] possible to get a function from another domain

2005-08-23 Thread Jay Blanchard
[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

RE: [PHP] possible to get a function from another domain

2005-08-23 Thread Jim Moseby
[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

Re: [PHP] possible to get a function from another domain

2005-08-23 Thread Rory Browne
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