470,613 Members | 2,186 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,613 developers. It's quick & easy.

apache uses javascript?

XP pro machine
apache 2.0.48
php 4.3.6

I would like to execute javascript on my apache http server
example:

<SCRIPT language="javascript">

function doit(){
document.write("doit");
}
doit();
function showscreen(){
alert("hello world");
document.write("Screen Data" + "<hr>" + "<br>");
for (value in window.screen){
document.write("<li>" value + "=" + window.screen[value] + "</li>");
}
alert("hello world");
}
showscreen();
</SCRIPT>

Curently I don't think i have the correct mod. However i'm wondering
two questions.
1)Should i take the time to install the mod and is it going to work
correctly?
2)or should i just forget java and focus on using perl and be done so
it is less headache.

Thank you ahead of time for any advice
Jul 23 '05 #1
1 1083
???

Javascript runs in the BROWSER on the CLIENT machine. It does not run on the
server at all.. (unless you specify specifically to run on the server)

BTW Java is NOT the same as Javascript.

"brianj" <br********@yahoo.com> wrote in message
news:a8**************************@posting.google.c om...
XP pro machine
apache 2.0.48
php 4.3.6

I would like to execute javascript on my apache http server
example:

<SCRIPT language="javascript">

function doit(){
document.write("doit");
}
doit();
function showscreen(){
alert("hello world");
document.write("Screen Data" + "<hr>" + "<br>");
for (value in window.screen){
document.write("<li>" value + "=" + window.screen[value] + "</li>");
}
alert("hello world");
}
showscreen();
</SCRIPT>

Curently I don't think i have the correct mod. However i'm wondering
two questions.
1)Should i take the time to install the mod and is it going to work
correctly?
2)or should i just forget java and focus on using perl and be done so
it is less headache.

Thank you ahead of time for any advice

Jul 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by bruce | last post: by
1 post views Thread by vishnu mahendra | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.