0
votes
0answers
10 views

storing the current value of countdown timer in variable for using in the template toolkit file

I have a count down timer in the Hours left field, to find the hours left. I also have a field to enter the total estimated time and upon enetering the value of total estimated time, the timer will ...
0
votes
1answer
21 views

Adding count down timer in perl template tool kit

I have checked some possibilities for adding a count down timer in a cgi page.But i couldn't find anything helpful. I have written the file to add countdown timer, 'Timer.js' and is calling from the ...
0
votes
2answers
29 views

How to let CGI input field return to its initial state when a condition is fulfilled (CGI.pm/Perl)

I have a CGI script that looks like this. #!/usr/local/bin/perl use CGI ':standard'; print header; print start_html('A Simple Example'), h1('A Simple Example'), start_form, "What's your name? ...
1
vote
1answer
30 views

Calling multiple perl scripts over APACHE server?

I am pretty new to creating web applications, so I am very unfamiliar with working over a web server. Just to let everyone know, I am implementing html, javascript, strawberry perl, AJAX, and running ...
1
vote
2answers
64 views

Premature end of script headers in perl scripts

I have problem in execution of perl scripts. I am using Alias for the directory of the server like that: Alias /epbin3/ /opt/v-hosts/user/epbin/ <Location /epbin3> AddHandler cgi-script ...
0
votes
3answers
51 views

Perl CGI redirect with URI.pm

I have a Perl script which in some cases needs to do a redirect to another one and send all the query parameters along. The query parameters can contain a lot of data and I do not want to construct ...
0
votes
0answers
22 views

Not able to download Excel sheet from Perl CGI page from cgi-bin directory

I am able to access Perl CGI scripts from the /cgi-bin folder as usual. And in one CGI page an Excel sheet (in /cgi-bin) will be generated by pulling data from MySQL, but I am not able to download the ...
0
votes
2answers
38 views

Two buttons doing same action in my perl CGI script

I have this 2 buttons in my perl cgi code which does the same action even I have assigned different actions to each button Here is the code print start_html(), start_form(-action => ...
0
votes
1answer
27 views

How to assign Action to a Button in perl cgi?

So I have a button in my CGI Perl. On clicking that button I need to assign a action in perl CGI, on clicking that button a New text-area should open with specified width in the same page with a ...
2
votes
1answer
25 views

How to encode base64 md5 in CGI?

I need to post some form in CGI (Perl) and one of the inputs requires hash encoded in base64 md5. The sample provided by the side which should get, works in PHP as follows: $hash = base64_encode(md5( ...
-1
votes
1answer
25 views

Not able to print the content of a file in perl CGI

I want to print the content of a file line by line in a webpage Here is my code which is refusing to work. open(CNF, '<G:\automation_managment\".$n."\config.txt') or die "cant open"; my ...
0
votes
0answers
42 views

Perl script displayed as plain text in linux mint?

i did install libapache2-mod-perl2 to run perl files as CGI through apache each time i tried to navigate the perl file browser display it as a plain text . ###Start### #!/usr/bin/perl -w print ...
0
votes
2answers
46 views

Not able to find match in array and print in perl webpage

I'm trying to build a webpage in perl, where I get a name from a textfield and then compare it with a array. If the match is found , I need to display some corresponding contents that are stored in a ...
0
votes
2answers
35 views

Directing to a webpage after comparing a input variable in perl webpage

So what I'm trying to do here is to build a couple for webpages. So there is main page(say m1). so m1 has just a input field and a submit button. So what I want to do is get the variable (a string) ...
0
votes
1answer
37 views

perl cgi jquery not working

So I did a 2 test pages, one in perl cgi and another in html, to test out the jquery scripts but surprisingly, only the html one works. I need to do it in the perl cgi so I don't know what is the ...

1 2 3 4 5 53
15 30 50 per page