[REBOL] Re: REBOL + PHP, or ...?
From: chrismorency:videotron:ca at: 25-Nov-2001 13:51
Hi,
> I am not sure I understand you correctly, but typically assigning some
> extension for your files to be "executed", we speak "cgi". I have
> currently set-up ability to execute scripts only for /cgi-bin/ dir, and
> /fast-cgi/ for fast-cgi scripts.
> I am not sure it is a good thing to allow cgi scripts being executed
> from anywhere on your server ....
The eRebol script should be in the cgi-bin directory, however your
html/rebol .r pages can be anywhere in the hierarchy of the site and would
still be processed by eRebol.
> As you can see, parser was not used for e.g. And also - <!--[code
> here]--!> looks more rebol way than <%code here%> :-)
I'm not familiar with the history of the <% %> syntax, I know it's used in
ASP pages, so basically Marteen wanted to use something developers are
already familiar with... as for the <!-- --!>, these are actually comments
in a html doc... let's say your developer would still like the ability to
use these ? you can't use them for scripting engine heh ?
> >Actually, you can even save the information to txt files and reuse them
> >later with a print read %file within your script.
> >
> Hmm, of course you can, but why to slow it down by hd access?
For example, on my site I have two generated channels, both are independent
in their own directory on the site, and no one should link the other.
however, there is one page the about page that will be partially similar,
the first paragraph is not, but the second paragraph on both page is... now
let's say I only want to edit one file to modify both pages ? I could
include a print read %file.txt ! and it'll work !
Best.
Chris