05-26-2009
Cookies must be sent (by either the server or the client) in the HTTP headers using the Set-Cookie header (server) or the Cookie header (client). See
Wikipedia and
RFC 2965 for more information
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
1. I need CGI in my own server. plz tell me how do it ?
2. U know somethink FREE servers with CGI ?
thanks
cYa (2 Replies)
Discussion started by: kezzol
2 Replies
2. Linux
hi frnds
i m getting this error whenever i m trying to run otrs in my web browser.
http://ipaddr /otrs/index.pl
"
500 Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your... (1 Reply)
Discussion started by: naik_mit
1 Replies
3. Shell Programming and Scripting
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)
Discussion started by: raksha.s
12 Replies
4. Shell Programming and Scripting
Hello Guys,
I would like to know how can I create a radio button on that its possible to return to the last page, using a ksh CGI shell script.
Can someone help ?
Thanks so much !!!:b:
I tried this, but it is a javascript code !
<INPUT TYPE="button"
VALUE="BACK"
... (2 Replies)
Discussion started by: robdcb
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. UNIX for Dummies Questions & Answers
Hello anyone,
I'm a PHP programmer that, through work has to be a server administrator. We have a dedicated server at godaddy. I just found this forum but probably could have asked a thousand questions that I've already figured out.
I tried finding anything online and would think this would... (0 Replies)
Discussion started by: Freddythunder
0 Replies
7. Shell Programming and Scripting
Dear people, I got a problem with an scrip using wget to download pdf-files from an website which uses session-cookies.
Background: for university its quite nasty to look up weekly which new homeworks, papers etc. are available on the different sites of the universites chairs. So I wanted a... (1 Reply)
Discussion started by: jackomo
1 Replies
8. Shell Programming and Scripting
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)
Discussion started by: black_fender
0 Replies
9. Shell Programming and Scripting
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)
Discussion started by: larryjmoon
3 Replies
10. Shell Programming and Scripting
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)
Discussion started by: scriptscript
1 Replies
LEARN ABOUT DEBIAN
plack::handler::cgi
Plack::Handler::CGI(3pm) User Contributed Perl Documentation Plack::Handler::CGI(3pm)
NAME
Plack::Handler::CGI - CGI handler for Plack
SYNOPSIS
Want to run PSGI application as a CGI script? Rename .psgi to .cgi and change the shebang line like:
#!/usr/bin/env plackup
# rest of the file can be the same as other .psgi file
You can alternatively create a .cgi file that contains something like:
#!/usr/bin/perl
use Plack::Loader;
my $app = Plack::Util::load_psgi("/path/to/app.psgi");
Plack::Loader->auto->run($app);
This will auto-recognize the CGI environment variable to load this class.
If you really want to explicitly load the CGI handler, you can. For instance you might do this when you want to embed a PSGI application
server built into CGI-compatible perl-based web server:
use Plack::Handler::CGI;
Plack::Handler::CGI->new->run($app);
DESCRIPTION
This is a handler module to run any PSGI application as a CGI script.
UTILITY METHODS
setup_env()
my $env = Plack::Handler::CGI->setup_env();
my $env = Plack::Handler::CGI->setup_env(\%override_env);
Sets up the PSGI environment hash for a CGI request from %ENV> and returns it. You can can provide a hashref of key/value pairs to
override the defaults if you would like.
SEE ALSO
Plack
perl v5.14.2 2011-06-22 Plack::Handler::CGI(3pm)