Script execution time.

2005-08-03 Thread Sara
I have to test/optimize a script on a shared server. The script contains a couple of mySQL queries etc. Is there a way that I can see the query execution time (like in phymyAdmin) and total script execution time, plus memory CPU usage? There are a lot of ways doing it in PHP but nothing in

Re: Script execution time.

2005-08-03 Thread Chris Devers
On Wed, 3 Aug 2005, Sara wrote: I have to test/optimize a script on a shared server. The script contains a couple of mySQL queries etc. Is there a way that I can see the query execution time (like in phymyAdmin) and total script execution time, plus memory CPU usage? There are a lot of

How do I make two different web pages come up from one CGI?

2005-08-03 Thread Luinrandir
The following does not work #!/usr/bin/perl use strict; print qq|Content-type: text/html\n\n|; print qq|HTMLHEADTITLESeneschals Report/TITLE/HEADBODY|; print qq|1|; print qq|/body/html|; print qq|Content-type: text/html\n\n|; print qq|HTMLHEADTITLESeneschals Report/TITLE/HEADBODY|; print

Re: How do I make two different web pages come up from one CGI?

2005-08-03 Thread Chris Devers
On Wed, 3 Aug 2005, Luinrandir wrote: The following does not work Define does not work. It seems to work for me: $ lynx -mime_header http://localhost/test.pl HTTP/1.1 200 OK Date: Thu, 04 Aug 2005 00:49:32 GMT Server: Apache/1.3.33 (Darwin) mod_perl/1.29 Connection: