REBOL in PHP
[1/4] from: ralph:abooks at: 5-Dec-2000 10:52
Quick tip:
In my book REBOL FOR DUMMIES (order it at http://rebolpress.com), I show how
PHP code embeds in REBOL scripts. Ah, but what if you want to call a REBOL
script from within PHP code? If your server is Apache and runs PHP4, it's
very simple:
<?PHP
virtual ("cgi-bin/banner.r");
?>
Why would you want to? I am a firm believer in hybrid programming--combining
the strengths of two or more scripting languages for a greater whole than
either of the parts can provide. In specific, while REBOL blows PHP away in
most aspects, PHP provides exceptionally powerful MySQL (and other SQL)
support. So the intermixing of scripting languages often gives a quick and
elegant solution.
Opinions welcome.
And you can always demand a recount<g>.
--Ralph Roberts
[2/4] from: chaz::innocent::com at: 5-Dec-1998 20:37
Haven't seen you on the list for a while! Glad to have you back!
chaz
At 10:52 AM 12/5/00 -0500, you wrote:
[3/4] from: ralph:abooks at: 6-Dec-2000 8:34
>
>Haven't seen you on the list for a while! Glad to have you back!
>
>chaz
>
I've been lurking, Chaz, while working on other projects. But I read the
REBOL list every day and, more importantly, I use REBOL every day. Great
stuff!
--Ralph
[4/4] from: webmaster:siliconspecies at: 23-Dec-2000 7:18
Hmmm
I tried it but I get this...
Fatal error: Call to undefined function: virtual()