On Sat, 14 Jun 2003 09:58:51 -0500, "Thomas A. Moulton"
<[EMAIL PROTECTED]> wrote:

> import socket
> CGI_URL = "http://"; . socket.gethostname() . "/tmda/index.cgi"
> 
> (I'm guessing at the python syntax here....)

Yeah, you could do something like that.  Util has some nice functions
you could import and use.

> Is the current host already available as a variable I can use %(hostname)
> with?

I would try %(Domain)s or %(ShortUrlDom)s.  Check out the list at
http://tmda.sourceforge.net/tmda-cgi/autoinstall.html#Skel

Gre7g.
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to