RE: [PHP] "include" ??

From: Date: Wed, 09 Apr 2003 02:27:32 +0000
Subject: RE: [PHP] "include" ??
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-142988@lists.php.net to get a copy of this message
> I'm rather new to PHP. > I have 2 homesites. I like to show a part of a php-side from server 1 in a > php-side on server 2. > Is thats possible? If you want to include the _result_ of the PHP code, then you can do something like: include("http://yourserver.com/file.php"); It's just like including an HTML file, though, because you get the result of the PHP code. If you're looking to _run_ PHP code that's on one server on another, then that's not possible (at least not very easily or securely). ---John W. Holmes... PHP Architect - A monthly magazine for PHP Professionals. Get your copy today. http://www.phparch.com/

« previous php.general (#142988) next »