Emiliano <[EMAIL PROTECTED]> wrote:
> Arnaud ASSAD wrote:
>
> > When migrating a php site to midgard I face a problem which is obviously
> > bound to my lack of knowledge about Midgard :
> >
> > I've got a page : cv.php3
> > this page includes 2 class files connexion.php3 and form.php3 (both are
> > private classes)
> > cv.php3 do some stuff before the body is printed and eventually either
> > display a form
> > or redirect to another page...
>
> You can do several things: put it in a snippet, copy it into a page
> body, or include the file verbatim into a rather simple midgard page.
> Our bugtracking syste, for example, includes an existing application.
> The page code looks largely like:
>
> <? include("/path/to/bugs.php"); ?>
>
> > Worse I don't know where by code elements should go ? code-init ?
>
> Or a regular includable file.
note that with the PHP4 version, you can include() files containing midgard formaters
( &(); and <[]> ).
This doesn't work with other forms like include_once(), require() and require_once()
though.
>
> Emile
--
Best regards,
David Guerizec
http://www.midgard-project.org/
http://www.guerizec.net/david/
[This mail has been sent by imuable v0.1b]
[If you find something wrong, please send]
[a message to [EMAIL PROTECTED], Thanx]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]