Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: embeded php

From: kracik:mbox:dkm:cz at: 7-Feb-2001 18:28

Andrew Martin wrote:
> How about pre-generating PHP pages with Rebol? Write the PHP/HTML page in my > eText dialect or HTML dialect or plain Rebol script, and embed PHP tags in > the generated HTML page. Then run the the pre-generated pages through your > webserver. That way, the dynamic content can be added through the PHP code > to access your database. >
Yes, the method of generating PHP code and then running it is suggested in the REBOL for Dummies book. But I want the resulting page (generated from SQL SELECT statement) to be unique for each user that accesses my web site at the same time. I cannot just write a dynamic page to a file, redirect to it and hope that some other user of the web site is not doing the same thing just now. I agree that pre-generating "static" PHP scripts from REBOL could be easier than writing them completely in PHP, I've done that for ASP/VBScript before. -- Michal Kracik