Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

html display

Status
Not open for further replies.

xavier64

Technical User
Nov 18, 2002
12
FR
Hi,

i'm making a tcl/tk script running via an apache server.
In this script i want to display information on the browser.
So i use puts fonction, but the browser only display the page at the end of the script.

Is it possible to have a "live" display ?? (like for php)

Xav
 
Your question isn't phrased very well...

Tcl is perfectly capable of determining the
reported user_agent with the cgi_env variable http_user_agent.
Are you using the ncgi package or another?

 
i'm not using any package.
my script "just" makes
a puts "Content-type: text/html\r\n" then
some puts "blablablablabla"
and a very long exec command
then again some puts "blablablabla"

The puts generate a good html page, but the html page is only displayed at the end of the script

Xav


ps: sory for my english...

 
You really should use ncgi or cgi_tcl. Your problems would not occur.
I can't help you devise a new cgi system for tcl.
There are plenty of good cgi packages available. Go to for details.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top