Re: a code question..??

From: Date: Thu, 10 Nov 2005 21:24:24 +0000
Subject: Re: a code question..??
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-225551@lists.php.net to get a copy of this message
bruce said the following on 11/10/2005 01:15 PM:
the primary issue i'm trying to address is whether it's possible for a php app to somehow display on one app, code/forms that essentially resides on another server? doens't have to be a login form.. in all honesty, i don't see how it can be possible.. using curl, would simply download the code from app B to app A which isn't what i want. i'm looking to keep the code on app B from being modified/played with, which is why i'm inclined to think the code/form in question needs to be able to be run from app B...
I quick stroll through the archives ought to answer your question. You have many options. It could be as simple as: if($login) { print("<iframe src=\"http://url.for.app.b\"></iframe>\n"); } It depends what you want to do and how aware you want your two applications to be of each other, which you haven't really explained. - Ben

« previous php.general (#225551) next »