Help for this page

Select Code to Download


  1. or download this
    my $query=new CGI;
    my $emailid = $query->param('accemailid');
    print TMP time; # Just to check whether the file gets executed
    print TMP $emailid; # TMP is a file handler of a temp file
    
  2. or download this
            $emailid =  $_POST['accemailid'];
            $logfile =  "/tmp/in/log.txt";
            $fh = fopen($logfile, 'a') or die("can't open file");
            fwrite($fh, $emailid);
            fclose($fh);
    
  3. or download this
        _LIT8(KPostUri, "http://mywebsite.com/upload.pl");
    
    ...
            
        _LIT8(KContentEmail,"Content-Disposition: form-data; name='accemai
    +lid'");
        _LIT8(KContentComment,"Content-Disposition: form-data; name='comme
    +nt'");