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:12

>In a sample Chapter "Rebol for Dummies" I read, that it is possible to >embed php to Rebol. Is it real??? A test went wrong... > >#!/path/to/rebol -cs > >REBOL [ >] > >print { ><html> ><? print("Hello world")?> ></html> >} >
Hi Rene... yes, it's certainly possible to embed PHP in REBOL (and vice versa), and I do both quite often, being a firm believer in hybrid programming. ... The example in the book is general. One application for embedding PHP code in HTML and in turn embedding all of that in REBOL would involve a page generated by REBOL and saved to the web space. Assuming the PHP parser then recognizes it (i.e. a correct extension), then all the PHP code executes. In essense, instead of just a dynamic PHP page, you get a dynamic-dynamic page<g>. I suppose I need to post some more specific examples. --Ralph Ralph Roberts, author REBOL FOR DUMMIES