Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

cgi_destroy(3) [debian man page]

cgi_destroy(3)							     cgi/cgi.h							    cgi_destroy(3)

NAME
cgi_destroy - deallocate the data associated with a CGI SYNOPSIS
#include <cgi/cgi.h> void cgi_destroy (CGI **cgi); ARGUMENTS
cgi - a pointer to a pointer to a CGI struct DESCRIPTION
cgi_destroy will destroy all the data associated with a CGI, which mostly means the associated HDF and removal of any files that were uploaded via multipart/form-data. (Note that even in the event of a crash, these files will be deleted, as they were unlinked on creation and only exist because of the open file pointer) RETURN VALUE
cgi - NULL on output SEE ALSO
cgi_debug_init(3), cgi_parse(3), cgi_destroy(3), cgi_js_escape(3), cgi_html_escape_strfunc(3), cgi_register_strfuncs(3), cgi_output(3), parse_rfc2388(3), cgi_url_validate(3), open_upload(3), cgi_cs_init(3), cgi_url_escape_more(3), cgi_html_strip_strfunc(3), cgi_neo_error(3), cgi_redirect(3), cgi_filehandle(3), cgi_register_parse_cb(3), cgi_url_escape(3), cgi_init(3), cgi_redirect_uri(3), cgi_cookie_clear(3), cgi_url_unescape(3), cgi_vredirect(3), cgi_display(3), cgi_html_ws_strip(3), cgi_error(3), cgi_cookie_set(3), cgi_text_html_strfunc(3), cgi_cookie_authority ClearSilver 12 July 2007 cgi_destroy(3)

Check Out this Related Man Page

HOBBITCGI.CFG(5)						File Formats Manual						  HOBBITCGI.CFG(5)

NAME
hobbitcgi.cfg - Command-line parameters for the Xymon CGI tools SYNOPSIS
$BBHOME/etc/hobbitcgi.cfg DESCRIPTION
hobbitcgi.cfg(1) controls the commandline options passed to all of the Xymon CGI tools through their respective shell-script wrappers. Typ- ically the options listed here are used for system-wide configuration of the CGI utilities, e.g. to define where they read configuration files. The exact set of commandline options available are described in the man-page for each of the CGI utilities. The file is "sourced" into the shell script wrapper, so assignments to the CGI-specific variables must follow standard shell-script syntax. SETTINGS
CGI_ACKINFO_OPTS Options for the hobbit-ackinfo.cgi(1) utility. CGI_ACK_OPTS Options for the bb-ack.cgi(1) utility. CGI_CSVINFO_OPTS Options for the bb-csvinfo.cgi(1) utility. CGI_DATEPAGE_OPTS Options for the bb-datepage.cgi(1) utility. CGI_ENADIS_OPTS Options for the hobbit-enadis.cgi(8) utility. CGI_EVENTLOG_OPTS Options for the bb-eventlog.cgi(1) utility. CGI_FINDHOST_OPTS Options for the bb-findhost.cgi(1) utility. CGI_HIST_OPTS Options for the bb-hist.cgi(1) utility. CGI_HOBBITCOLUMN_OPTS Xymon-specific options for column documentation. This uses the bb-csvinfo.cgi(1) utility with the server/etc/columndoc.cfg configu- ration file. CGI_HOBBITCONFREPORT_OPTS Options for the hobbit-confreport.cgi(1) utility. CGI_HOBBITGRAPH_OPTS Options for the hobbitgraph.cgi(1) utility. CGI_HOSTGRAPHS_OPTS Options for the hobbit-hostgraphs.cgi(1) utility. CGI_NKEDIT_OPTS Options for the hobbit-nkedit.cgi(1) utility. CGI_NKVIEW_OPTS Options for the hobbit-nkview.cgi(1) utility. CGI_REPLOG_OPTS Options for the bb-replog.cgi(1) utility. CGI_REP_OPTS Options for the bb-rep.cgi(1) utility. CGI_SNAPSHOT_OPTS Options for the bb-snapshot.cgi(1) utility. CGI_SVCHIST_OPTS Options for the hobbitsvc.cgi(1) utility when used to view historical logs. Note that the "--historical" option must be included in this setting. CGI_SVC_OPTS Options for the hobbitsvc.cgi(1) utility. SEE ALSO
xymon(7), the individual CGI utility man-pages. Xymon Version 4.2.3: 4 Feb 2009 HOBBITCGI.CFG(5)
Man Page

15 More Discussions You Might Find Interesting

1. Programming

help<newbie>

i am new to the programing enviroment i know html and some of cgi i would like to know how to creat programs i know nothing!!!!!!!!!!!!! what do i need to get started where can i learn the language what language do i need to learn i tried scheme http://www.htdp.com it did not work out well... (9 Replies)
Discussion started by: skistar
9 Replies

2. UNIX for Dummies Questions & Answers

chmod and cgi correlation

How much do chmod settings affect cgi scripts?? I have a "webmaster" at my work that says I cannot change the permissions on the cgi scripts, and that they work with only certain permissions. They are set for 644, I want to change them to 775 and put her in her own group, like she should be, not... (6 Replies)
Discussion started by: bigmacc
6 Replies

3. Windows & DOS: Issues & Discussions

DOS/Windows CR to a UNIX LF 17 MB text file

Hello, I am on a WinXP home machine with a 17 MB text file and I need to change the DOS/Windows CR to a UNIX LF. Does anyone know how I can do this or even better a WinXP program that can do this for me ? My hobby is my Family History. I know very little about all this type stuff and I... (9 Replies)
Discussion started by: tex
9 Replies

4. Solaris

executing cgi programs in solaris(B89) needed urgent help,pls!

Hi all, I am trying to execute cgi scripts on solaris, but everytime i get a internal server error... The syntax of my .cgi script is correct as ive checked.. Steps i followed 1.started apache 2.The UNIX and Linux Forums - Learn UNIX and Linux from Experts (in opera) 3.places my cgi scripts... (7 Replies)
Discussion started by: wrapster
7 Replies

5. Shell Programming and Scripting

Invoking CGI executable after setenv (in bash)

Hello, I have an executable cgi program that I can run manually from my Linux shell after setting environmental variables on the previous line, like this: setenv QUERY_STRING "workdir=/u/here/there/&nb1=5&nb2=1000" MyExecutable.cgiHow can I imitate this behavior in a bash script? I tried... (11 Replies)
Discussion started by: aplaydoc
11 Replies

6. Shell Programming and Scripting

create a new directory from cgi script

hello. i hav accepted name of directory from user through a form.now i need to create a directory under cgi-bin of that name.I am not able to do so.n help is required (12 Replies)
Discussion started by: raksha.s
12 Replies

7. Shell Programming and Scripting

Run system command in perl cgi

Hi guys, got a problem with a perl cgi script over here. I need it to run a system command to get the status of a process. Unfortunately the process is owned by a specific user and only this user can get its status. So i tried running the command from the perl cgi with "su", but then i get the... (12 Replies)
Discussion started by: polki
12 Replies

8. Shell Programming and Scripting

simple cgi script not working

hi all, i have installed simple cgi-script under apache/cgi-bin directory hello.cgi #!/usr/bin/perl print "Content-type: text/html\n\n"; print <<END_HTML; <html> <head></head> <body>Hello, World!</body> </html> END_HTML when i hit the url... (6 Replies)
Discussion started by: raghur77
6 Replies

9. Programming

Run two CGIs simultaneously and Ajax to read updated value from CGI1

Flow of program: C based CGI is used CGI1: -Gets called when user hits upload button(submit) ie form action = CGI1 -Does the file upload (copy to a directory etc) JS, Ajax fucntion: -A JS function is called when user hits upload button -The JS function opens an Ajax request for CGI2... (8 Replies)
Discussion started by: xs2punit
8 Replies

10. Shell Programming and Scripting

Execution problem unix commands in Perl CGI

I am trying to run SSH , mkdir and other unix commands using Perl CGI. But i am not able to Execute these commands. Please help me out !!!! SSH and mkdir is necessity for me. I will be thankful to you...!!!!! I am trying like: In perl CGI file i am writing like: @list = `ssh... (28 Replies)
Discussion started by: Navrattan Bansa
28 Replies

11. Shell Programming and Scripting

How to run Background process one after another

Hii Friends, I am using Perl CGI. I am running A SCP Command via Perl CGI in Background. Like system("scp -r machinename:/PathOfFile/ /Path/WhereToCopyIt/ &) This Copy Process takes some times lets say 15 min. Now I want When This copy process gets complete then send me... (5 Replies)
Discussion started by: Navrattan Bansa
5 Replies

12. UNIX for Dummies Questions & Answers

How to use emacs? Also how to open existing emacs files with .cgi format?

Hi All, I am new to this forum and a beginner in unix. Please correct me if I put the question in a wrong way.. How to use emacs editor? Also how to open existing emacs files with .cgi format? I have the following link :- http link i.e. url and path : /abc/xyz.dev/xyz/documents What... (7 Replies)
Discussion started by: swathi123
7 Replies

13. Shell Programming and Scripting

Not able to copy the file in perl cgi script

Hello experts, I am facing an very typical problem and hope the issue can be solved. I have a page download.cgi in /cgi-bin folder. use CGI; use CGI::Carp qw ( fatalsToBrowser ); use File::Copy copy("C:\\Program Files\\Apache Software... (8 Replies)
Discussion started by: scriptscript
8 Replies

14. UNIX for Dummies Questions & Answers

PERL-CGI learning

Hello All, I am actually learning PERL and more interested to learn CGI script too. Can any suggest a forum or weblink which is more helpful for a dummy CGI developer. Thanks (6 Replies)
Discussion started by: posix
6 Replies

15. Shell Programming and Scripting

Help with copying from one drive to another with cgi & ksh script

Hi I was hoping some one could help me with a problem I have with a .cgi script I am running in the korn shell. I have created a web form that user fill out to gather information that I use a .cgi and sed script to translate into a xml file which is further processed by another program. All is... (6 Replies)
Discussion started by: Paul Walker
6 Replies