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

Your name:

Reply:


Posted by "Gustav Wiberg" on 08/23/05 22:56

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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация