Solved

View working CGI's???

Posted on 1998-07-02
4
142 Views
Last Modified: 2013-12-25
Hi!
I am currently a beginner at CGI, and sometimes when I run into CGI's, I'm interested in how they are coded, so I can learn.  I was wondering if there is any way to view the coding behind CGI's, just like in I.E. and Netscape, you can hit VIEW--->View source, to see the HTML coding.  Thank-you very much!

P.S.  Please do not submit 'No, this can't be done', as an answer... Thank-you!
0
Comment
Question by:eversoslightly
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 5

Expert Comment

by:julio011597
ID: 1830413
So, as a comment, no, this can't be done.

-julio
0
 
LVL 8

Accepted Solution

by:
jhurst earned 20 total points
ID: 1830414
The answer is NO - but I will tell you why:

When a client machine submits a posting to the cgi the posted information is received by the server and then the server invokes the appropriate cgi.  Note, it does not run on your machine.  Secondly, many cgis, all of mine for example, are written in C and the source is not even present on the machine on which they run.

So the answer reallis NO!

Having said that - there are hundreds of free perl scripts cgis that you can find on the web and they will do almost anything that you may want.

0
 
LVL 1

Author Comment

by:eversoslightly
ID: 1830415
Ah... OK... oh well.  I guess I'd better just give it up then!
0
 
LVL 8

Expert Comment

by:jhurst
ID: 1830416
Don't give up - there are some great perl scripts for cgi that are freely available and well worth a look.  You can even write them as shell scripts althjough this tends to be somewhat limiting.  I have written really simple cgis as shell scripts.
0

Featured Post

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Need to combine two scripts 2 52
How to use IFS to get output of range in comma separator in bash? 2 74
Ruby or Python 7 130
Google Chrome: Debugging AJAX call 6 38
It is becoming increasingly popular to have a front-page slider on a web site. Nearly every TV website,  magazine or online news has one on their site, and even some e-commerce sites have one. Today you can use sliders with Joomla, WordPress or …
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question