Go Back   CodingForums.com > :: Server side development > Perl/ CGI

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-19-2005, 01:26 AM   PM User | #1
gogokick
New to the CF scene

 
Join Date: Jul 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
gogokick is an unknown quantity at this point
run CGI without setting up a server

I went to CGI 101 and realized that I need to set up a server and install Perl in order to run CGI program on my PC. So I was wondering, is there other ways around it? Like getting a complier instead of setting up a Apcahe server or whatever?

Last edited by gogokick; 07-19-2005 at 02:10 AM.. Reason: second thought
gogokick is offline   Reply With Quote
Old 07-19-2005, 06:29 AM   PM User | #2
netroact
Regular Coder

 
Join Date: Aug 2004
Posts: 364
Thanks: 9
Thanked 4 Times in 4 Posts
netroact is an unknown quantity at this point
If you have a website, you probably have Perl already installed on your hosts server. CGI stands for Common Gateway Interface. This is an interface that enables you to use different languages, including Perl, on you website. If you have a remote host that hosts your website for you, you won't need to install it on your PC.

If you just want to run Perl offline on windows, you could just install something like Indigo Perl:

http://www.indigostar.com/indigoperl.htm

I haven't used it in awhile but it installs Apache and Perl on Windows. It does all the work for you. I think all I had to change was the config file to localhost.
Just a suggestion. Hope it helps!
netroact is offline   Reply With Quote
Old 07-19-2005, 12:22 PM   PM User | #3
andyede
Regular Coder

 
Join Date: Sep 2004
Posts: 133
Thanks: 0
Thanked 0 Times in 0 Posts
andyede is an unknown quantity at this point
is this of any interest?

http://www.indigostar.com/perl2exe.htm
andyede is offline   Reply With Quote
Old 07-19-2005, 01:13 PM   PM User | #4
Aradon
Moderator-san


 
Aradon's Avatar
 
Join Date: Jun 2005
Location: USA
Posts: 734
Thanks: 0
Thanked 20 Times in 19 Posts
Aradon is on a distinguished road
I've used ^^ program to transfer a perl program from one computer to another, but you don't have to have their perl to do it or anything. It imports the entire perl library and makes it into an exe..

kinda like java only it probably still runs faster :>
Aradon is offline   Reply With Quote
Old 07-20-2005, 12:04 AM   PM User | #5
gogokick
New to the CF scene

 
Join Date: Jul 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
gogokick is an unknown quantity at this point
Thank you guys for the replies, maybe I misunderstood CGI by thinking its a language. Okay, so I can just write some CGI program in Perl , save it in NotePad as .cgi and then run it on a website that supports CGI, right?
I will try that, haha.
gogokick is offline   Reply With Quote
Old 07-20-2005, 12:32 AM   PM User | #6
FishMonger
Super Moderator


 
Join Date: May 2005
Location: Southern tip of Silicon Valley
Posts: 2,753
Thanks: 2
Thanked 149 Times in 144 Posts
FishMonger will become famous soon enoughFishMonger will become famous soon enough
Also, it needs to be placed in a proper directory and permissions set where the web server has access to execute it; normally/often it's put within the cgi-bin directory.
FishMonger is offline   Reply With Quote
Old 07-20-2005, 03:21 AM   PM User | #7
gogokick
New to the CF scene

 
Join Date: Jul 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
gogokick is an unknown quantity at this point
Okay, I will do that too. Just a second thought, how many people can access the website in the same time? Is that something to do with the "share up to XXGB?" or "bandwidth"?
gogokick is offline   Reply With Quote
Old 08-07-2005, 08:22 PM   PM User | #8
Anarchist
New Coder

 
Join Date: Oct 2003
Location: UK
Posts: 63
Thanks: 0
Thanked 0 Times in 0 Posts
Anarchist is an unknown quantity at this point
Yeah

Quote:
is there other ways around it?
Yeah install Dzsoft Perl editor Here run the scripts from it, ya gotta install Perl though.
Anarchist is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:03 AM.


Advertisement
Log in to turn off these ads.