Shell Scripts - Part 09
091-contactus.cgi
To process the contact us form data, email it to the designated recipient, and return a succinct thank you message.
092-contactus.html
A html helper file for script #91, contactus.cgi
093-photoalbum.cgi
A dynamic web photo album utility.
094-guestbook.cgi
To display the current guestbook entries, append a simple form for visitors to add their own comments, and accept and process new guest entries. Works with a separate data file that actually contains the guest data.
095-guestbook.txt
Data file for script #94, guestbook.cgi
096-counter.sh
A simple text-based page counter, with appropriate locking
097-page-with-counter.html
Html helper file for script #96, counter
098-streamfile.cgi
An output an HTML file, replacing the sequence ---countervalue--- with the current counter value.
099-updatecounter.sh
A tiny script that updates the counter file to the value specified. Assumes that locking is done elsewhere.
To process the contact us form data, email it to the designated recipient, and return a succinct thank you message.
092-contactus.html
A html helper file for script #91, contactus.cgi
093-photoalbum.cgi
A dynamic web photo album utility.
094-guestbook.cgi
To display the current guestbook entries, append a simple form for visitors to add their own comments, and accept and process new guest entries. Works with a separate data file that actually contains the guest data.
095-guestbook.txt
Data file for script #94, guestbook.cgi
096-counter.sh
A simple text-based page counter, with appropriate locking
097-page-with-counter.html
Html helper file for script #96, counter
098-streamfile.cgi
An output an HTML file, replacing the sequence ---countervalue--- with the current counter value.
099-updatecounter.sh
A tiny script that updates the counter file to the value specified. Assumes that locking is done elsewhere.
Given a one-line-per-entry datafile, this script will randomly pick one and display it. Best used as an SSI call within a Web page.
2 Responses:
Hey.. Thats a wonderful blog.. I was luking for some help! I hav a .sh file which passes two parameters say $1 and $2 to a .sql file. In my .sql file i have a select query, which is : select a1,a2,a3 from table1 where a4 = $1 and a5 = $2. I want to print a1,a2,a3 into a file, in the sql prompt itself i.e. without returning back to the shell scipt. Can you suggest something on these lines?
No Idea ! Have u tried googling !
Post a Comment