PDA

View Full Version : asp, cgi, php, mysgl, js in my computer!



jwei
June 5th, 2002, 02:09
hi All, I want to test some scripts on my computer. any1 know how to set up asp, cgi, php, mysgl, js in my computer? if u know plz write it in detail, step by step. I am using Win XP. and have installed IIS 5.1 , activeperl 5.6.1, php.exe, and mysgl. I have test a cgi but it seems not work:( . maybe i make a mistake in some step. IF you know plz tell in in detail, and step by step. Thank you! :P :)

YUPAPA
June 5th, 2002, 02:11
What CGI scripting are you talking about?

jwei
June 5th, 2002, 02:17
Originally posted by YUPAPA
What CGI scripting are you talking about?
any cgi scripts
but i just test the simple basic script

#!/usr/bin/perl
print "Hello, world!\n";

but it don't work?
I am studying Cgi, asp, php,
first i need to set it up properly.

YUPAPA
June 5th, 2002, 02:21
That's perl...

AND you do not have the correct path to your perl... the first line shouldn't be #!/usr/bin/perl

It should be #!path_to_your_perl_dot_exe

AND you need print "Content-Type: text/html\n\n"; before using the print statment or else you get "Internal Server Error"; unless you run the script via telnet or SSH.

jwei
June 5th, 2002, 02:33
perl not equal to cgi?
the path is correct i think...
the important point is how to set all(cgi, asp, php, mysql, js) up in my computer. so i can test scripts later.
yupapa r u chinese? your pic looks like a HK singer... hehe :P

biggulp
June 5th, 2002, 03:43
cgi is common gateway interchange which isn't perl. there are many cgi languages

nag
June 5th, 2002, 03:58
How amazing it is that you want to learn all these at once.....
By the way do you know there is a difference between JS and all other (perl,ASP,PHP).
In fact JS is client side javascripting and otherws are in the category called ---Server Side Scripting---
You do not need anything special for JS you just need a browser and thats all both Netscape and IE support it.Just write it in your HTML by placing <script> tag...
I have never set others on a pc so i cannot help you for others but possibly all instructions would be given in help files try to read them...
;)

biggulp
June 5th, 2002, 04:00
how do u install asp?

YUPAPA
June 5th, 2002, 11:17
Originally posted by jwei
perl not equal to cgi?
the path is correct i think...
the important point is how to set all(cgi, asp, php, mysql, js) up in my computer. so i can test scripts later.
yupapa r u chinese? your pic looks like a HK singer... hehe :P

HO yea HO yea... gum doh bay lay lum doh.... hai, HK singer.. :p
lay doh mo ppl six chinese ga...

can you get perl running then??? Where is your perl.exe file located? Do you know which directory you installed Perl?
The exe file should be here: DRIVE:\Path_to_Active_Perl\Bin\Perl.exe

ToTheMax
June 8th, 2002, 04:34
You don't need to install ASP,ASP comes bundled with IIS.

Btw I guess that girl in YUPAPA's avatar is Miriam Yeung,am i correct? hehe

YUPAPA
June 8th, 2002, 04:42
Originally posted by ToTheMax
You don't need to install ASP,ASP comes bundled with IIS.

Btw I guess that girl in YUPAPA's avatar is Miriam Yeung,am i correct? hehe

lay dim chee?

conkermaniac
June 8th, 2002, 04:53
Originally posted by nag
How amazing it is that you want to learn all these at once.....
By the way do you know there is a difference between JS and all other (perl,ASP,PHP).
In fact JS is client side javascripting and otherws are in the category called ---Server Side Scripting---
You do not need anything special for JS you just need a browser and thats all both Netscape and IE support it.Just write it in your HTML by placing <script> tag...
I have never set others on a pc so i cannot help you for others but possibly all instructions would be given in help files try to read them...
;)

Yep, JS works in any regular HTML document.

ToTheMax
June 8th, 2002, 10:48
Your should check each browser's javascript compatibility because some browser may not support some syntaxes.


Originally posted by YUPAPA


lay dim chee?

I could recognized her by looking at your avatar

YUPAPA
June 8th, 2002, 16:47
ho yea wor!