I have searched for one of these for a long time but never found anything past PERL and BASIC. does anyone know where i can get one. thank ahead of time.
Printable View
I have searched for one of these for a long time but never found anything past PERL and BASIC. does anyone know where i can get one. thank ahead of time.
What exactly do you mean by interpreter?
CGI works with web pages, and is interpreted by the server. It is written usually in perl (don't know about basic), and it could be written in C (not as easily, no std functions to deal with html output besides hacking this fileOut<<"<html><head>......";)
so could you be specific on what you want this 'interpreter' to do?
the interpreter interprets the language...im not sure i know what u mean. when u write CGI in perl you have to have a PERL interpreter. if you write it in C you have to have a C interpreter. my web server don't have any built in interpreters.
This is one of the reasons Perl is used more than C, that and Perl's string handling goodness. C is a compiled language, so you don't need an interpreter when you write CGI in C. The problem with this is security, Perl scripts can be viewed easily while C programs need only the binary. One could easily write in some nasty virus and run a C CGI program without anyone knowing about the virus.Quote:
the interpreter interprets the language...im not sure i know what u mean. when u write CGI in perl you have to have a PERL interpreter. if you write it in C you have to have a C interpreter. my web server don't have any built in interpreters.
>It is written usually in perl (don't know about basic)
Perl, UNIX shell scripts, C, C++, FORTRAN, BASIC, LISP, etc... :)
-Prelude
check active perl, i don't remember the website, but if you own your server then you can install it and run cgi scripts written in perl on it. IF you're going to make it in C, then that's all you need. Just make an exe as far as i know. You may want to ask around boards for internet (specifically backend) development to see how you would go about passing data to the exe from the page. Otherwise it shouldn't be too hard.
Try this library. I use it all the time...
http://www.eekim.com/software/cgihtml/