12-09-2007
The easiest way is to generate <input> hidden (type="hidden") tags with the desired parameters and values inside the form from your CGI script.
Alternative methods may be suitable depending on what you want to achieve: HTTP cookies, CGI session
INPUT - Form Input
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
my box is FreeBSD4.3 and I use Perl 5.0005_03.
Here is the CGI script.
test.cgi
......
if ($query->action eq 'detail') {
......
print $query->hidden('action', 'modify');
......
}
I found that the result of
test.cgi?action=detail
is not what I expected.
the script does not... (4 Replies)
Discussion started by: tonyt
4 Replies
2. UNIX for Dummies Questions & Answers
Can any body help me with apache and cgi
i'dont know how iconfigure apache to use cgi...
and when i try to start apachectl it says there is no file...
please help me...i have apache installed... (1 Reply)
Discussion started by: CreamHarry
1 Replies
3. Shell Programming and Scripting
Hi,
In my cgi script(written in Perl using cgi.pm) i have a checkbox and i want all the items to be checked. Here is what i use:
checkbox_group(-name=>'studenten_in_groep', -values=>\@member_keys, -defaults=>\@member_keys, -labels=>\%temp_members, -columns=>2),
But no boxes are checked...... (18 Replies)
Discussion started by: tine
18 Replies
4. Shell Programming and Scripting
Hello Everyone,
I've googled everywhere for this with no luck and my brain hurts.
I'm trying to write a program to take my webpages and search for forms.
I've used LWP::Simple to store a website in $content
I need to cut the form out of $content. I don't know how to do this seeing as how... (2 Replies)
Discussion started by: wibbs
2 Replies
5. 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
6. Shell Programming and Scripting
Hi,
Am unfamiliar with using CGI modules in Perl.
Though i checked in few sites about CGI , i dint get a clear idea.
Can anyone please explain me the purpose of these statements, it ll be very helpful to me
#!/usr/bin/perl
use CGI qw/:standard/;
use Storable;
use Data::Dumper;
my... (1 Reply)
Discussion started by: irudayaraj
1 Replies
7. 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
8. 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
9. Shell Programming and Scripting
Hi Team,
I am trying to connect to database(succeeded ) and print the records on the browser using while loop. But the elements of array are not displayed instead while loop is displayed directly. Instead of the below I can embed html statements in print but I am looking for the below style as I... (1 Reply)
Discussion started by: scriptscript
1 Replies
10. OS X (Apple)
I am trying to get my MacBook Pro with 10.8 Mt Lion set up to run Perl CGI scripts.
Having a problem. I can start Apache Web Server with no problems.
Why do I put the static and dynamic scripts? I which directory?
I have looked at this article:... (3 Replies)
Discussion started by: djehresmann
3 Replies
LEARN ABOUT DEBIAN
cgi::application::plugin::devpopup::httpheaders
CGI::Application::Plugin::DevPopup::HTTPHeaders(3pm) User Contributed Perl Documentation CGI::Application::Plugin::DevPopup::HTTPHeaders(3pm)
NAME
CGI::Application::Plugin::DevPopup::HTTPHeaders - show incoming and outgoing HTTP headers
VERSION
version 1.07
SYNOPSIS
use CGI::Application::Plugin::DevPopup;
use CGI::Application::Plugin::DevPopup::HTTPHeaders;
The rest of your application follows
...
Output looks roughly like this:
Incoming HTTP Headers
-----------------------------------
http
-----------------------------------
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_CHARSET UTF-8,*;q=0.5
HTTP_HOST www.example.com
Outgoing HTTP Headers
-----------------------------------
Content-Type: text/html; charset=utf8
Environment Dump
-----------------------------------
CAP_DEVPOPUP_EXEC 1
DOCUMENT_ROOT /var/www/html
GATEWAY_INTERFACE CGI/1.1
QUERY_STRING
REMOTE_ADDR 127.0.0.1
LIMITATIONS
For obvious reasons, the outgoing headers only display what CGI::Application will generate.
SEE ALSO
CGI::Application::Plugin::DevPopup, CGI::Application
AUTHOR
Rhesa Rozendaal, rhesa@cpan.org
BUGS
Please report any bugs or feature requests to bug-cgi-application-plugin-devpopup@rt.cpan.org, or through the web interface at
http://rt.cpan.org/NoAuth/ReportBug.html?Queue=CGI-Application-Plugin-DevPopup <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=CGI-
Application-Plugin-DevPopup>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
COPYRIGHT & LICENSE
Copyright 2005 Rhesa Rozendaal, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.12.4 2011-10-31 CGI::Application::Plugin::DevPopup::HTTPHeaders(3pm)