F
Fengshui
I remember every CGI output must start as this:
print "text/html\n\n";
I guess what it does is it tells the client the type of the document as text
or html
I need to write a perl to let the client know it is a
application/x-javascript file.
What I try to do is that within the HTML page, there will be request for
extenal .js files, but I want the SRC="xxxx.cgi" and let the Perl script to
out put the .js file.
Anyone done this before?
print "text/html\n\n";
I guess what it does is it tells the client the type of the document as text
or html
I need to write a perl to let the client know it is a
application/x-javascript file.
What I try to do is that within the HTML page, there will be request for
extenal .js files, but I want the SRC="xxxx.cgi" and let the Perl script to
out put the .js file.
Anyone done this before?