P is for Practical | |
PerlMonks |
Re: Javascript and Perl... a match never made.by dree (Monsignor) |
on Jul 20, 2002 at 08:39 UTC ( [id://183573]=note: print w/replies, xml ) | Need Help?? |
Hello!
gryphon says right but you can try also this old CGI trick: put a string after the real script name to cheat the server. In this way the name of the script will be the string. For example: http://mysite.com/cgi-bin/jserver.cgi/myjs.js?some_GET_stuff_here=... So for the browser, the name of the script will be myjs.js Also, pay attention with the header: you wrote 3 \n, 2 are enough, and you need a space after the ":" .You can write text/plain:
In Section
Seekers of Perl Wisdom
|
|