2008/8/24 Alan Gauld <[EMAIL PROTECTED]>: > > "Dotan Cohen" <[EMAIL PROTECTED]> wrote > >> I think that I will use the open() and read() functions, thanks! I did >> think of that, but I wanted to know if there was a better wheel >> invented already. > > Another option is to use environment variables to store them. > These can be set when the server starts up. But a config file > is ok too. >
Thanks, I will google that. But I will save it for other uses, as I don't want to risk an exploit where one could walk the environment and discover that info. Does Python have an equivalent to phpinfo()? -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ä-ö-ü-ß-Ä-Ö-Ü _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor