- 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
- 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);
- 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'");