gfx25
inherit
-3738083
0
Dec 4, 2024 9:16:16 GMT -8
gfx25
0
January 1970
GUEST
|
Post by gfx25 on Oct 8, 2009 16:55:27 GMT -8
Hey I'm using filezilla and trying to upload .pl files, is there anything different you would have to do with perl for it to work on your server or is it the same as any other file like html css or php.
|
|
inherit
130228
0
Jul 11, 2024 19:19:59 GMT -8
Charles Stover
1,731
August 2008
gamechief
|
Post by Charles Stover on Oct 9, 2009 4:50:37 GMT -8
Try it and find out.
|
|
gfx25
inherit
-3738829
0
Dec 4, 2024 9:16:16 GMT -8
gfx25
0
January 1970
GUEST
|
Post by gfx25 on Oct 9, 2009 9:41:26 GMT -8
|
|
inherit
39608
0
Nov 26, 2011 18:53:00 GMT -8
iDunk
Previously Computerpros
2,533
April 2005
computerpros
|
Post by iDunk on Oct 9, 2009 10:55:47 GMT -8
I believe I heard somewhere that for perl to run you must place it in your CGI-bin folder. But I don't know. :-\ Perl ain't my mojo.
-iDunk
|
|
gfx25
inherit
-3738902
0
Dec 4, 2024 9:16:16 GMT -8
gfx25
0
January 1970
GUEST
|
Post by gfx25 on Oct 9, 2009 10:57:03 GMT -8
I believe I heard somewhere that for perl to run you must place it in your CGI-bin folder. But I don't know. :-\ Perl ain't my mojo. -iDunk do you know if you have to make a CGI-bin folder in public_html or no?
|
|
inherit
39608
0
Nov 26, 2011 18:53:00 GMT -8
iDunk
Previously Computerpros
2,533
April 2005
computerpros
|
Post by iDunk on Oct 9, 2009 11:06:27 GMT -8
I think it may go there. I'm gonna SSH into my account and find out though. Edit: It is setup in my public_html folder. -iDunk
|
|
gfx25
inherit
-3738922
0
Dec 4, 2024 9:16:16 GMT -8
gfx25
0
January 1970
GUEST
|
Post by gfx25 on Oct 9, 2009 11:11:22 GMT -8
My host may be a bit different from yours but I have
cgi-bin logs mivadata public_html
Would it go there or would I go
public_html - folder - cgi-bin - folder - perl code
|
|
inherit
39608
0
Nov 26, 2011 18:53:00 GMT -8
iDunk
Previously Computerpros
2,533
April 2005
computerpros
|
Post by iDunk on Oct 9, 2009 11:14:01 GMT -8
Your host may have it setup to read files from there. I really haven't the slightest clue as to how you go about executing a perl script though. I guess it'd need a hash bang (#!/usr/bin/perl). But other than that... *shrugs* Edit: I found a link that may be of some help. www.lies.com/begperl/hello_cgi.html-iDunk
|
|
inherit
100824
0
May 13, 2012 5:37:49 GMT -8
Michael
14,585
March 2007
wrighty
|
Post by Michael on Oct 10, 2009 9:30:11 GMT -8
If I remember rightly from when I started trying some Perl (never got into it!) it goes into the cgi-bin folder! =/
|
|
inherit
130228
0
Jul 11, 2024 19:19:59 GMT -8
Charles Stover
1,731
August 2008
gamechief
|
Post by Charles Stover on Oct 10, 2009 9:48:35 GMT -8
You should be able to put it into any cgi-bin folder. I'm not sure how to call it, though. But it's an Apache configuration that decides what folders to execute Perl in, and cgi-bin is the default. I'd think the cgi-bin that's on the same level as public_html would be safer, since it's not accessible to the client (even though it can be set to not be accessible, it may not be by default since they placed cgi-bin in the same directory as public_html).
|
|
gfx25
inherit
-3740614
0
Dec 4, 2024 9:16:16 GMT -8
gfx25
0
January 1970
GUEST
|
Post by gfx25 on Oct 10, 2009 13:58:40 GMT -8
would i make the folder in the cgi-bin or do i just put the scripts there
|
|
inherit
130228
0
Jul 11, 2024 19:19:59 GMT -8
Charles Stover
1,731
August 2008
gamechief
|
Post by Charles Stover on Oct 10, 2009 14:25:05 GMT -8
Probably either works. Whichever you prefer using.
|
|