Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. airhead1

    cgi perl script problem

    dude thats not the problem, it CAN write to the file, and it writes the first part, but NOT the VALUES of the form
  2. airhead1

    cgi perl script problem

    as for your code, paul, it keeps getting a "Undefined subroutine &main::param called at f:\apache\cgi-bin\passget1.cgi line 7." error in the log
  3. airhead1

    cgi perl script problem

    so far i have #!perl print "Content-type: text/html\n\n"; $ENV{'REQUEST_METHOD'} = 'POST'; if ($ENV{'REQUEST_METHOD'} eq 'POST') { read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'}); @pairs = split(/&/, $buffer); foreach $pair (@pairs) { ($name, $value) = split(/=/...
  4. airhead1

    cgi perl script problem

    ya, i changed the passwd later, to pass in the html part, so everything was the same but i still have problems
  5. airhead1

    cgi perl script problem

    ok, so i went back to using: " #!perl $ENV{'REQUEST_METHOD'} = 'POST'; if ($ENV{'REQUEST_METHOD'} eq 'POST') { read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'}); @pairs = split(/&/, $buffer); foreach $pair (@pairs) { ($name, $value) = split(/=/, $pair); $value...
  6. airhead1

    cgi perl script problem

    all i want is a simple script to write form input, with a value of pass, and login, to a file, thats all
  7. airhead1

    cgi perl script problem

    it gets errors Premature end of script headers: f:/apache/cgi-bin/passget1.cgi Undefined subroutine &main::param called at f:\apache\cgi-bin\passget1.cgi line 5.
  8. airhead1

    cgi perl script problem

    that don`t do anything at all
  9. airhead1

    cgi perl script problem

    i got a internal server error, the log said "Premature end of script headers: f:/apache/cgi-bin/passget.cgi" also, are you sure this is the right part to take input from the form? $FORM{pass} the html part is " <form TARGET="_top" name="passget" action="/cgi-bin/passget.cgi" METHOD="post"...
  10. airhead1

    cgi perl script problem

    btw, im using apache for windows
  11. airhead1

    cgi perl script problem

    im new to perl and cgi allthgether, im gona get a book about it, but I need to have a script that can take form input and put it into a file on my server here is the code I have sofar #!perl print "Content-type:text/html\n\n"; # Get Browser Verion Info if ($ENV{'REQUEST_METHOD'} eq 'POST') {...

Part and Inventory Search

Back
Top