Results 1 to 8 of 8
I have a shell script wich want to i make it web based preferly by php in fedora.my teacher saied me i can do it bye CGA.i dont now nothing ...
- 08-25-2010 #1Just Joined!
- Join Date
- Jul 2010
- Posts
- 11
Cga
I have a shell script wich want to i make it web based preferly by php in fedora.my teacher saied me i can do it bye CGA.i dont now nothing about it.plz help.tanx
- 08-25-2010 #2
not sure what CGA is, are you sure they didnt' mean/say CGI?
CGI is usually a perl script, but it can be other languages too
does your teacher need you to do it in a certain language? or is this something you are doing on your own?
- 08-26-2010 #3Just Joined!
- Join Date
- Jan 2008
- Location
- Mozambique
- Posts
- 1
Can you show us your shell script
You say you have a shell script you and one of your teachers want to rewrite using PHP.
You ask for help.
I think the first thing you must do is post your shell script to see if it can be rewritten in PHP as a CGI (and not -- probably! -- as a CGA).
- 08-26-2010 #4Linux Engineer
- Join Date
- Feb 2005
- Posts
- 1,044
Get your teacher to live up to his job title and teach you!
- 08-26-2010 #5Just Joined!
- Join Date
- Jan 2008
- Posts
- 17
I'm disappointed. I was hoping someone actually had a CGA card. I was wondering what the computer specs were, since the CGA adapter was the first color graphics adapter. It's rez was 320x200 with 16 colors. It was ISA bus which was still available in some 500Mhz machines. Totally do-able with Linux.
- 08-26-2010 #6
What the frak, person of indeterminite gender? "CGA" is a graphics card. "CGI" is a network technology (sort of).
Considering the vague nature of your post, here's some help.
1. Learn correct English spelling and grammar ; it helps people to understand what you're on about.
2. Use the correct names and terms for things ; it helps people to understand what you're on about.
3. Search online for Vikram Waswani's "How to Do Everything with PHP and MySQL" as a PDF ; it will teach you what it promises to. If you can't find it, email me : nigel.nq.ngw[at]gmail[dot]com
4. Go get "Beginning PERL" by Simon Cozens from perl.org/books/beginning-perl ; it will teach you the Practical Extraction and Report Language and how to implement a CGI (Common Gateway Interface) script in PERL.
5. Figure out if you can implement your shell script as a CGI.
I hope that helps you.Last edited by VirtualLinuxUser; 08-26-2010 at 06:44 PM. Reason: Adding contact info
- 08-27-2010 #7Just Joined!
- Join Date
- Jul 2010
- Posts
- 11
I m sorry it is CGI not CGA.u know in fact.i made a firewall with user interface(dialog utility).now i should web_based it in fedora.i dont know how.with which languages.i know php.offcourse in windows.we have htdocs in appachi in windows for run php and html scripts.but in linux i dont know how.tanxxxx so much 4 help
- 08-30-2010 #8
Fatook : Go get XAMPP for GNU-Linux from apachefriends <apachefriends[dot]org+en+xampp-linux.html> and follow the installation instructions. It's a self-extractor that you need to run as the root user. It installs to /opt/lampp (/opt must exist before-hand.) Read the books I mentioned in my previous post.
That should help you to at least partly solve your problem.


Reply With Quote
