Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: Javascript and Perl... a match never made.

by dree (Monsignor)
on Jul 20, 2002 at 08:39 UTC ( #183573=note: print w/replies, xml ) Need Help??

in reply to Javascript and Perl... a match never made.


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:

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:
print "Content-type: text/plain\n\n";

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://183573]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2016-10-01 10:25 GMT
Find Nodes?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:

    Results (575 votes). Check out past polls.