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. -- regards KG http://lawgon.livejournal.com _______________________________________________ To unsubscribe, email [email protected] with "unsubscribe <password> <address>" in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
