About 3,450,000 results
Open links in new tab
  1. Write data to a file using CGI-perl - Stack Overflow

    Dec 11, 2013 · I have a problem in writing data to a file using CGI. the code is as follows: #!/usr/bin/perl use strict; use warnings; use CGI ":standard"; print "Content-type:text/html \n\n"; …

  2. Perl 5 by Example: Form Processing - GitHub Pages

    Fig. 20.2 - The Add Entry Form. The CGI program in Listing 20.5 is invoked when a visitor clicks on the submit button of the Add Entry HTML form. This program will process the form …

  3. Chapter 6: Reading and Writing Data Files - CGI 101

    #!/usr/bin/perl -wT use CGI qw(:standard); use CGI::Carp qw(warningsToBrowser fatalsToBrowser); use strict; use Fcntl qw(:flock :seek); my $outfile = "poll.out"; print header; …

  4. LinuxQuestions.org - saving the form data into a .txt file

    how to save(perl /html /cgi script) upload details into a textfile by hitting the submit key. below is my script: how to save the form data into a txt file by pressing the submit key. #!/usr/bin/perl -w …

  5. Getting data from a form - CGI | Tek-Tips

    Apr 27, 2002 · $cgi_data = $ENV{QUERY_STRING}; } else { read(STDIN,$cgi_data,$ENV{CONTENT_LENGTH}); } my %form_data_list; @form_data_list …

  6. Writing post data to a file using CGI-perl - Stack Overflow

    Mar 4, 2015 · Server-Side/CGI Script: #!C:\perl\bin\perl.exe -wT use CGI; use JSON; print "Content-type: text/html\n\n"; $query = new CGI; $folder = $query->param("folder"); $file = …

  7. CGI - Simple Common Gateway Interface Class - Perl

    Using a CGI object's methods, you can examine keywords and parameters passed to your script, and create forms whose initial values are taken from the current query (thereby preserving …

  8. Read POST data and write to a text file - Perl | Tek-Tips

    Jul 15, 2002 · #!Perl/bin/perl #savecalendar.cgi use CGI; my $q = new CGI; $data_length = $ENV{'CONTENT_LENGTH'}; $bytes_read = read(STDIN, $my_data, $data_length); …

  9. perl - Save data to file when click on submit button - Stack Overflow

    Oct 23, 2014 · Start by naming the files based on the date. Dates are great for file names. Maybe add a .txt extension. Open a filehandle for that name. Print to the filehandle. The following is a …

  10. Download .TXT from Perl/CGI Generated HTML - CGI | Tek-Tips

    Feb 13, 2007 · The .TXT file is a dynamic file, updated with form data via another CGI script (successfully). This script opens the file (successfully), displays the data in a table …

  11. Some results have been removed
Refresh