View previous topic :: View next topic |
Author |
Message |
sean -
Joined: 29 Jan 2004 Posts: 18 Location: London
|
Posted: Thu Jan 29, 2004 7:51 pm Post subject: Please, Please Help |
|
|
Hey everone,
I'm new to all this and i'm ok at cgi. But, i have a problem:
Usually i put:
#!usr/bin/perl as the first line on the script, but when i open it, it just displays what i have written in cgi.
What is the correct path, any help would be grateful :D |
|
Back to top |
|
|
Anonymoose -
Joined: 09 Sep 2003 Posts: 2192
|
Posted: Thu Jan 29, 2004 8:11 pm Post subject: |
|
|
Only you know what the correct path is at the moment :wink:
What OS are you running ?
Where did you install perl to ? |
|
Back to top |
|
|
sean -
Joined: 29 Jan 2004 Posts: 18 Location: London
|
Posted: Thu Jan 29, 2004 9:52 pm Post subject: |
|
|
I'm running Windows XP Professional
and my perl folder is:
E:\Program Files\ActivePerl-5.8.2.808-MSWin32-x86\ActivePerl
(i have 2 hard drives - that's why it's 'E:\...') |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
|
Back to top |
|
|
sean -
Joined: 29 Jan 2004 Posts: 18 Location: London
|
Posted: Fri Jan 30, 2004 7:29 pm Post subject: |
|
|
Yeah, i've done all that, followed the guide but no joy.
I e-mailed you back sending my file. :? |
|
Back to top |
|
|
sean -
Joined: 29 Jan 2004 Posts: 18 Location: London
|
Posted: Sat Jan 31, 2004 12:05 pm Post subject: I think i'm nearly there |
|
|
I installed perl to C:/program files..... just to make sure i was doing everything right in the tutorial. I went through it again and again making sure i had everything perfect. I read somewhere else in this forum that instead of:
#!usr/bin/perl
put
#!C:/Program FIles/Perl
Do you think that would work? |
|
Back to top |
|
|
sean -
Joined: 29 Jan 2004 Posts: 18 Location: London
|
Posted: Sat Jan 31, 2004 1:18 pm Post subject: [b]FINALLY!![/b] |
|
|
Hey all,
I installed the web server and perl and everything again and it works now. Finally, Thanks for your help. Appreciate it :D |
|
Back to top |
|
|
|