Sponsored Content
Full Discussion: HTML-CGI on Unix
Top Forums UNIX for Dummies Questions & Answers HTML-CGI on Unix Post 31593 by s93366 on Sunday 10th of November 2002 05:12:49 PM
Old 11-10-2002
You have to explain some more.. I dont understand. What does the program print? what do you mean by running it in a web browser? a CGI script?

/Peter
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

UNIX CGI script

Hey everyone! I hope someone here is good with Unix CGI scripts. I'm having trouble with my CGI. Here's the deal I've created a program that searches the passwd file and cuts the users real name when it's given the login name. When i converted it to CGI i ran into some problems: 1) when you... (3 Replies)
Discussion started by: primal
3 Replies

2. Shell Programming and Scripting

CGI passing arrays/hashes to another CGI script

If I have a Perl CGI script (script01), which fills an array(s) with information and outputs a HTML page with a link to another CGI page (script02); is there anyway to pass the array(s) from "script01" to "script02" when the page visitor clicks the link? Hope that makes sense! :) (2 Replies)
Discussion started by: WIntellect
2 Replies

3. Shell Programming and Scripting

HTML form to cgi help

I wrote a script to automate user account verification against peoplesoft. Now I want to make it available to my peers via the web. It is running on Solaris. I have the form written, but am not sure how to make it work. I think the form should call a perl cgi when submitted. The cgi should call... (7 Replies)
Discussion started by: 98_1LE
7 Replies

4. Shell Programming and Scripting

html - df -k cgi script

Hey - I am new to cgi scripting... just writing a script to output df -k output to html page... but I cannot get the df lines on separate lines on the page, it all comes out on one line and is not very readable.. any suggestions? My script is below - please keep in mind I am only new to it so... (1 Reply)
Discussion started by: frustrated1
1 Replies

5. Shell Programming and Scripting

cgi script to echo a html file

Hi, I'm learning some simple cgi scripting. I can make a script like this, so my browser shows "Hello World" /www/cgi-bin/name.sh --- #!/bin/sh MyName=World echo "<html> Hello $MyName </html>" --- What I'd like is to have a separate html and script files in the cgi folder so ... (1 Reply)
Discussion started by: Performer
1 Replies

6. Shell Programming and Scripting

How to pass data from server (CGI script) to client (html page)

Hi I know how to pass data from client side (html file) to server using CGI script (POST method). I also know how to re-create the html page from server side after receiving the data (using printf). However I want to write static pages on client side (only the structure), and only to pass... (0 Replies)
Discussion started by: naamabm
0 Replies

7. UNIX and Linux Applications

execute shell script using CGI for html site

hi there im currently in the process of creating a website for use basically within our org. im using a os x machine and installed MAMP - which includes Apache, mysql... the site will be used by techs to primarily install pkgs files onto os x devices. i would like to have buttons or hyperlinks... (2 Replies)
Discussion started by: sheshe
2 Replies

8. Shell Programming and Scripting

Perl cgi pages out of cgi-bin folder in WINDOWS

Hi team, I have a typical problem with cgi pages in apache webserver in WINDOWS I am able to execute(display) the pages that are saved in cgi-bin folder. But I am not able to execute the pages stored in htdocs or other folder other than cgi-bin folder. Could anyone please let me know how... (1 Reply)
Discussion started by: scriptscript
1 Replies

9. Shell Programming and Scripting

Run command through html+cgi in bash

Hi everyone, I want to kill process through the web, so I create html page with single bottom that run kill command in shell script with CGI. Here is html code: <td><form METHOD="GET" action="http://IP:port/cgi_bin/script.cgi" > <input type="submit" value= "Submit" > <INPUT name="q"... (7 Replies)
Discussion started by: indeed_1
7 Replies

10. UNIX for Beginners Questions & Answers

How to convert my /bin/sh script with cgi and html to run it on browser!??

Hello, I want to run this script on my CentOS 6 via browser : ________________________________________________________________________________________________ #!/bin/sh echo Username? read MY_NAME echo Provisional file name? read MY_FILE echo File NAME you want to save? read MY_FILE2... (16 Replies)
Discussion started by: juta2020
16 Replies
BB-SNAPSHOT.CGI(1)					      General Commands Manual						BB-SNAPSHOT.CGI(1)

NAME
bb-snapshot.cgi - CGI program to rebuild the Xymon webpages for a specific point in time. SYNOPSIS
bb-snapshot.cgi DESCRIPTION
bb-snapshot.cgi is invoked as a CGI script via the bb-snapshot.sh CGI wrapper. It rebuilds the Xymon web pages to the look they had at a particular point in time, based upon the historical information logged about events. bb-snapshot.cgi is passed a QUERY_STRING environment variable with the following parameters: mon (Start month of the snapshot) day (Start day-of-month of the snapshot) yr (Start year of the snapshot) hour (Start hour of the snapshot) min (Start minute of the snapshot) sec (Start second of the snapshot) The "month" parameters must be specified as the three-letter english month name abbreviation: Jan, Feb, Mar ... "day" must be in the range 1..31; "yr" must be specified including century (e.g. "2003"). "hour" must be specified using a 24-hour clock. All of the processing involved in generating the report is done by invoking bbgen(1) with the proper "--snapshot" option. OPTIONS
--env=FILENAME Load environment from FILENAME before executing the CGI. bbgen-options All options except "--env" are passed on to the bbgen(1) program building the snapshot files. ENVIRONMENT VARIABLES
BBGENSNAPOPTS bbgen options passed by default to the bb-snapshot.cgi script. This happens in the bb-snapshot.sh CGI wrapper script. BBHOME Home directory of the Xymon server files BBSNAP Directory where generated snapshots are stored. This directory must be writable by the userid executing the CGI script, typically "www", "apache" or "nobody". Default: $BBHOME/www/snap/ BBSNAPURL The URL prefix to use when accessing the reports via a browser. Default: $BBWEB/snap SEE ALSO
bbgen(1), bb-hosts(5), hobbitserver.cfg(5) Xymon Version 4.2.3: 4 Feb 2009 BB-SNAPSHOT.CGI(1)
All times are GMT -4. The time now is 02:53 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy