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

[REBOL] Re: embeded php

From: ralph:abooks at: 5-Feb-2001 18:57

Rene, here's an example of a dynamic-dymamic program... run this script in REBOL, then just run the generated page: write %/c/apache/htdocs/test.php { <html> <body>} repeat count 10 [ write/append %/c/apache/htdocs/test.php join count <br> ] write/append %/c/apache/htdocs/test.php {/n<?PHP print("Hello PHP and REBOL worlds!<br>"); ?> </body></html>} Actually, I just thought of an example where you can use PHP to generate and run a REBOL script which in turns dymamically generates a page with PHP code. Later for that... you guys play with the concept some<g>, I gotta get back to writing. Best, --Ralph Roberts