LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 12-13-2005, 05:27 PM   #1
zahadumy
Member
 
Registered: May 2005
Location: Cluj, Romania
Distribution: Fedora Core 6
Posts: 226

Rep: Reputation: 31
Starting cgi programming...


I want to start cgi programming. As far as I understood so far, I need a web server to put my cgi programs on. But how can I practice if I don't have one? Is is possible to practice on my computer and after I finish it to put the files on a web server? I'm pretty sure it is possible. Can you tell me how, please?
Thank you.
 
Old 12-13-2005, 05:44 PM   #2
mlaich
LQ Newbie
 
Registered: Nov 2005
Location: Missoula, MT
Distribution: RH 9, Xandros
Posts: 26

Rep: Reputation: 15
Hi zahadumy,
if you are planning for C cgi scripts, then you don't need any practice, they are quite similar to normal C programs, just place "printf(\"" and "\");" before and after every statement in sight(like printf("<p>this is a test<p/>"); will be shown as <p>this is a test</p>). The other normal processings will be same as it is.
But I have no idea of other scripts like perl etc.

mlaich
 
Old 12-13-2005, 05:54 PM   #3
zahadumy
Member
 
Registered: May 2005
Location: Cluj, Romania
Distribution: Fedora Core 6
Posts: 226

Original Poster
Rep: Reputation: 31
I need to do this because I'm a student and I have to do a homework. Basically, I think I need a web server on my computer. How do I do this?
 
Old 12-13-2005, 06:36 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,349

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
All std distros, inc yours, come with Apache as std. Just install it if it's not already on the disk.
 
Old 12-13-2005, 07:00 PM   #5
zahadumy
Member
 
Registered: May 2005
Location: Cluj, Romania
Distribution: Fedora Core 6
Posts: 226

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by chrism01
All std distros, inc yours, come with Apache as std. Just install it if it's not already on the disk.
Thank you, this was really helpful.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Starting Linux Programming... Where? slack&lovinit Programming 2 12-14-2005 02:40 AM
Starting php programming jagman Programming 8 09-02-2005 04:27 AM
CGI programming & stdout nodger Programming 1 04-09-2005 11:00 AM
starting 3d programming Tafta Programming 2 01-30-2004 09:12 AM
Need help with perl (cgi) programming elmetald00d Programming 4 03-28-2002 11:15 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration