Hi,

> > I have an external application (namely a forum) which I want to
> > embed into a midgard page; that is, put out the midgard style,
> > and include the forum in the middle.
> 
> Well. the best solution would be porting this application to midgard
> (I hope it isn't very hard).

It is much harder than not porting. :) Also, then it is much harder to
follow the upstream version...

> But on other side you could make it independent files in your website
> directory tree, and fetch style elements from midgard by fopen(). It
> requires that style elements are available by url. Not so hard too.

You mean that I create two midgard pages, one for the style before the
<[content]> tag, and one for after, what pages are only for fopen() them
to dump the style before and after the actual (externally generated)
page content? Hmm, this sounds really good... Why I didn't think of it
before... I am getting old... :-/  I can manage this, as the application
is template-based, and I can use PHP in the page header...

> > The second problem is bigger: I had the idea to create an active
> > page, and use fopen() to execute the needed external pages (I can
> > configure the app to create it's URLs appropriate for this, at
> > least I hope ;-). The problem with this is that I cannot pass the
> > POST-ed form variables, which uses the app extensively. Now I am
> > completely lost, fearing of I cannot use this approach...
> 
> Hmm... I'm not sure but eval() should accept these variables as any
> other global variables too. But it is insecure a little. :)
> So you could fopen() external page from disk, read its content into
> some variable and eval() it.

eval().... I think I change profession and go to a woodman... This is
also an evident solution. And it is not more insecure than the original
application.

Thanks for the (really efficient :) help:
Circum


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to