CGI - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.



  • superjoe30superjoe30 Posts: 174Member

    : I have an html page with a textbox in it and I want to write the content of it in a file.

    use strict;
    use CGI;

    my $file = "results.txt"

    open(RESULTS,">>$file") || die "Couldn't open $file: $!";
    print RESULTS param('opinion');


    this appends the data to the file

    ~~[blue]Perl[/blue]~~[red]Visual Basic[/red]~~[green]JavaScript[/green]~~

  • JonathanJonathan Posts: 2,914Member

    If you want to understand a little more, everything in my tutorial will tell you how to do it also...though the already suggested solution looks good to me! :)


    Count your downloads:
    And host your site:
    Don't say I never give you anything... ;-)

Sign In or Register to comment.