[REBOL] Re: embeded php
From: al::bri::xtra::co::nz at: 6-Feb-2001 11:46
Rene wrote:
> 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>
> }
Try:
write %MyPhpFile.php reduce [
<html>
<body>
"The time is: " now "."
join "<?" [
{print("Hello world")} {?>}
]
</body>
</html>
]
Andrew Martin
ICQ: 26227169 http://members.nbci.com/AndrewMartin/