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="javas cript">
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
apache 2.0.48
php 4.3.6
I would like to execute javascript on my apache http server
example:
<SCRIPT language="javas cript">
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
Comment