Here's a question I have for anyone that might be able to help me:
I can write a html script that will allow the user to return to the previous page using the back button, and I can write a script that will allow the user to return to the previous page using the close button, but...is there a... (1 Reply)
Hi,
I have an HTML form through which I get some text as input. i need to run a shell script say script.sh inside a perl-cgi script named main_cgi.sh on the form input.
I want to write the contents of the form in a file and then perform some command line operations like grep, cat on the text... (2 Replies)
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)
Hi Everyone,
I am facing a problem, regarding cgi cannot receive the value from HTML after click submit. Here is the code
===============================================
#!/bin/bash
genHTML()
{
cat <<-__EOF__
Content-type: text/html
<html>
<script language="JavaScript">
<!--
... (2 Replies)
Hi
I have a bash script which takes parameters
sh /tmp/gdg.sh -b BASE-NAME -n 1 -s /source/data -p /dest/data/archive -m ARC
gdg.sh will scan the /source/data and will move the contents to /dest/data/archive after passing through some filters. Its working superb from bash
I have... (0 Replies)
Hi, I want to insert in a page a .html button that - once it is clicked - opens a save file dialog box by using perl CGI .
I know that to create a link to do that I've done :
print $cgi->p ( { -class => 'linc' },);I want to do something similar for a download button (0 Replies)
Hi I have some simple script within the context of a cgi script that create a file to write to. If I run the script from the command line as root the file is created with no issue. However when I run the script from a web page with the apache account, it dies. The code lines are:
sub... (3 Replies)
hi folks,
I am trying to download xlsx from cgi page in browser but not sure where I made a mistake.
the cgi script contains the code for creating xlsx and just by clicking on the image I should be able to
#!/usr/bin/perl -w
use Excel::Writer::XLSX;
use DBI;
use DBD::mysql;
use CGI;... (1 Reply)
I want to create a simple html page that should contain 2 fields in which the user can write the input. Then I want to have a button that should launch a shell script with the parameters inserted by user in the fields from the webpage.
This is the code behind my webpage:
<html>
<form... (2 Replies)
Hello all,
I found acontribution of apmcd47 in an article I read very interesting, here is the link:
The post is named:
I don't understand almost anything about shell scripting, but I'm still determined to learn.
I have a question that I have not been able to solve (so many hours at... (9 Replies)