Python - User input to CGI via. Threading and reading file
Look at the bottom of this post, for final working code. It's a working Python/CGI script which can get user-input to a CGI-script by calling another script which then sends it's commands through a local socket. Original post: As far as I know, there isn't any way to send user input directly to a Python/CGI script which has allready sent it's header. Like, warning the user under specific circumstances and waiting for a confirmation. Neither have I been able to find any published solutions to this. If I'm wrong, please correct me. I currently have a Python script which can connect to servers,