[Ilugc] beginner in python needing help

Kenneth Gonsalves lawgon at thenilgiris.com
Thu Dec 25 18:05:11 IST 2008

On Thursday 25 Dec 2008 6:01:49 pm Saura Ramachandran wrote:
> > One example is that one can embed php code in a html page which can
> > directly access a database/filesystem and nuke it. You cannot do that in
> > python. There are a few genuine programmers on this list who could surely
> > give better examples.
> It may be possible if you manage to put the file in some place where
> the web server serves it. I am not sure whether  the web server will
> treat .html files the same way it treats php files.

afaik a .php file is nothing but a .html file with php code in it

> It should be 
> possible with python too isnt it? You could place a python file (not
> html) in a directory where the web server executes it.

that is what cgi is all about - web server executes python files.


More information about the ilugc mailing list