10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I have written an cgi perl script that displays an image(Excel image) and when clicked on that Image I need to download a excel sheet.
I made sure that excel sheet exists in the folder with the given name but still I am not able to download the sheet.
print "<center><table... (2 Replies)
Discussion started by: scriptscript
2 Replies
2. Shell Programming and Scripting
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
3. Web Development
Can anyone tell me how to export a variable from one perl CGI script to another perl cgi script when using a redirect.
Upon running the login.pl the user is prompted to enter user name and password. Upon entering the correct credentials (admin/admin) the user is
redirected to welcome page.
My... (3 Replies)
Discussion started by: Arun_Linux
3 Replies
4. Shell Programming and Scripting
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
5. Shell Programming and Scripting
Hi,
I am running a bash shell script for some simple web server CGI, the script runs as expected from the browser except the following:
curl --silent --max-time 10 --output /dev/null --write-out %{http_code} http://server:port/filename
This line outputs 404 when i execute the script... (0 Replies)
Discussion started by: Moxy
0 Replies
6. UNIX for Dummies Questions & Answers
Hello,
I had to move our company's intranet to a new machine running Centos 5. Whenever cgi scripts now execute I find this error message in the logs:
Mon Oct 05 11:19:39 2009] Premature end of script headers: vacation.cgi, referer: https:/{URL}]
Could not find platform independent... (0 Replies)
Discussion started by: mojoman
0 Replies
7. UNIX Desktop Questions & Answers
Hello everyone,
I have developed a cgi application on windows. i have created a folder in webapps of tomcat, within that a WEB-INF folder and in that cgi folder.
This cgi folder contains one executable. The web.xml is as follows: <servlet>
<servlet-name>cgi</servlet-name>
... (2 Replies)
Discussion started by: Preeti_t
2 Replies
8. Shell Programming and Scripting
Hi Everyone,
I am facing the problem to create the cookie in CGI (bash script).
Is it possible can create in cgi? or javascript better?
Anyone got the sample to create the cookie in cgi(bash script)?
Just the login will do ->> USERNAME and PASSWORD
after create how to store into the... (2 Replies)
Discussion started by: ryanW
2 Replies
9. UNIX for Dummies Questions & Answers
dear all
i've try several scripts and i think this is the simplest scripts that i can understand. please see below:-
if ($num >= 4000000001) {
#use CGI;
#my $query = new CGI;
#my $sendmail = "/usr/sbin/sendmail -t";
#my $reply_to = "bla@bla.com";
#my $subject =... (1 Reply)
Discussion started by: unknown2205
1 Replies
10. Shell Programming and Scripting
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