$fp =fopen("http://www.anotherserver.com/script.php","r";);

then read the required information using fread or fgets functions.

hope tht helps

Binay

----- Original Message -----
From: "The PHP Newbie" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 19, 2004 3:26 AM
Subject: [PHP] Is it posible to embed scripts from other server?


> HI there!
>
> Hope someone can help me with this: Is it posible to run a PHP script from
a different server than the one requesting the script.?
>
> I would like to know if u can do this with php, just like the Server
Includes in CGI and if u have an example of how to do it.
>
> I have a script in lets say www.myserverrightnow.com and this script needs
to call the info from a script from  www.anotherserver.com, is there a way
to stablish a connection between?
>
> Thanks for ur help!
>
>
> Regards,
>
> Luis Soriano.
>
>
> ---------------------------------
> Do you Yahoo!?
> Yahoo! Mail SpamGuard - Read only the mail you want.

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

Reply via email to