|
How do I view the exact output of my CGI?
| You could view the exact output of your CGI program by doing the following: 1. Upload the file to your directory (in this case the php-bin directory). 2. Go to your configuration page, click on 'homepage' -> 'CGI output'. 3. Here you should select the directory (cgi-bin) and the file (program) that you need to check. Also as CGIs input variables in them, you need to pass it values for the variables. (for example if the CGI file is supposed to take in a name and place it in the database then the name would be a variable). The clip below shows this in detail: 4. Click the 'continue' button. The next page should come up with the outputs of the CGI program (in code). |