473,385 Members | 1,901 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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 1158
???

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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Kim Gijung | last post by:
Hi all, I'm wondering how the apache server and php interepreter handles request. If one request comes to apache server what is next procedure? if apache server passes the request to php...
0
by: bruce | last post by:
Hi... Update.... We have the following setup in our httpd.conf file. We've tried to give what's related to the issue. We're trying to set up a virtual host for a test project. The behavior...
1
by: vishnu mahendra | last post by:
i am new to javascript. Can any one please tell me how to connect javascript to oracle in windows 98 using apache.where i could get information on connecting? thank you in advance, vishnu
7
by: RC | last post by:
First, let me say I couldn't find a group discuss XML/XSLT. So I only choose the closest groups to post this message. Here is part of my *.xsl file <xsl:stylesheet...
2
by: johnkn63 | last post by:
Hi everyone, I have both apache and cvswebb installed on Dunbuntu (a simplified Chinese flavour of Ubuntu Linux). The problem is that in http://localhost/cgi-bin/cvsweb/ which uses apache the...
18
by: rfhurley | last post by:
How do I run a .php program? (I'm starting with the "hello world" script)
6
by: MaiyaHolliday | last post by:
Hello, I've recently installed apache on a new computer, and cannot figure out why my site will not process any includes. (it was working on my old one) There are no errors on the page such as...
8
blazedaces
by: blazedaces | last post by:
So I have a program below which writes an excel file with multiple sheets based on inputs of sheet names, data, cell types, etc. It uses Apache POI, which is currently the only thing I found...
6
by: josequinonesii | last post by:
I've searched, I've read, I've tested and re-read numerous post but to no avail yet... Quite simply, the settings I've applied to my httpd.conf, httpd-vhost.conf and my hosts files simply does not...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.