inserting Python commands into HTML documents
Cameron Laird
claird at lairds.com
Mon Apr 14 17:39:16 EDT 2003
In article <6-CdnUrJoLKFkQajXTWcqA at comcast.com>,
Em <mcclaine at comcast.net> wrote:
>These options all seem to require me to install 3rd party software onto
>the server of this company, and I believe that to be outside of the
>scope of the test project.
>
>The only issue is that I want it to be invisible that I'm pulling from a
>CGI script (I don't want the URL bar to say
>"www.mywebsite.com/cgi-bin/myProj.py?page=projects", I want it to simply
>say "www.mywebsite.com/projects.html" or "www.mywebsite.com/projects.php").
>
>Is there a way for me to send my output to /index.html, /projects.html,
>etc.?
.
.
.
We're using words in different ways. Crudely, yes,
all the usual active page methods can pass data
either visibly (".../myProj.py?page=projects") or
not-so-visibly (".../myProj.py")--withOUT regard to
whether CGI is involved or not.
And equally without regard to language; PHP can do
just as much and just as little, in this regard.
Given this, I conclude I have no idea what you mean
by "send my output to /index.html ..." and so on.
I'm reasonably confident Python can do it, whatever
it is.
The problem remains ill-specified. One of the things
is that we'll need to know about the Web server avail-
able. If someone has asked you, "Demonstrate how to
use a Web server that only supports PHP but without
using PHP", then my summary will be that he's hazing
you.
--
Cameron Laird <Cameron at Lairds.com>
Business: http://www.Phaseit.net
Personal: http://phaseit.net/claird/home.html
More information about the Python-list
mailing list