Find the answer to your Linux question:
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 ...
  1. #1
    Just Joined!
    Join Date
    Jul 2010
    Posts
    11

    Unhappy 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

  2. #2
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    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?

  3. #3
    Just 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).

  4. #4
    scm
    scm is offline
    Linux Engineer
    Join Date
    Feb 2005
    Posts
    1,044
    Get your teacher to live up to his job title and teach you!

  5. #5
    Just 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.

  6. #6
    Just Joined! VirtualLinuxUser's Avatar
    Join Date
    Mar 2008
    Location
    Pietermaritzburg, KwaZulu Natal, South Africa
    Posts
    28

    Lightbulb

    Quote Originally Posted by fatook View Post
    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
    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

  7. #7
    Just Joined!
    Join Date
    Jul 2010
    Posts
    11
    Quote Originally Posted by fatook View Post
    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
    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

  8. #8
    Just Joined! VirtualLinuxUser's Avatar
    Join Date
    Mar 2008
    Location
    Pietermaritzburg, KwaZulu Natal, South Africa
    Posts
    28
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...