Dear Sophana, When I've mixed webware with php (which we do quite alot where I work), I have always gone through the apache web server. Essentially we have a single root context which can server either webware pages or php pages depending on the extension of the script, py is run through webware and php is run through php. As to the look and feel, that really depends on how you have your pages set up, most of our actual html design is done with cheetah, so alot of our look and feel is done with stylsheets and the usual stuff, which will carry over to php without any trouble. However some of our pages are set up with header and footers and stuff like that, a practice which is very common in php, which we had to build duplicates for, so essentially for some websites we have duplicate php and webwaer page headers and footers. Its a pain if you are actively editing a site because you have to remember to edit more then one set of code, but our users don't seem to see the difference. No sure if this is what you wanted, but I hope it helps. BTW within the same folder we often have both php and webware scripts, like I said we have apachie configured to deal with both.
Jose sophana wrote: > Hi all > > I'm coding a website with webware, but I'd like to reuse php scripts > in it. > These php scripts are hosted on the same machine (web server) > > How do I include these scripts inside my SitePage look and feel? > Can I call the php interpreter directly from python or should I go > through the apache web server? > > In both case, how can I do it? > > Thanks for your help > Sophana > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Webware-discuss mailing list > Webware-discuss@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/webware-discuss > > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss