On 17/05/11 22:46, Woo, Hye Jin wrote:
But, I have to enter id and pw in perl script.(example below)
It make security weak.
If you make sure the script is only readable by the user executing it
then only they will be able to see the password.
Alternatively, on a *NIX system, store the passwo
I imagine there are going to be many recommendations - and there are
always new, "better" modules coming out for this sort of thing. However,
I'll kick things off to say I've used MIME::Lite [1] for a long time and
it has always done everything I've needed.
Cheers,
Pete
[1] http://search.cpan
On May 2, 9:46 am, lm7...@gmail.com (Matt) wrote:
Have a date:
2011-05-02-16:40:51
Using this to get it:
$tm = gmtime;
$time_stamp = sprintf "%04d-%02d-%02d-%02d:%02d:%02d",
$tm->year + 1900, $tm->mon + 1, $tm->mday, $tm->hour, $tm->min, $tm->sec;
print "$time_stamp\n";
I need to r
On 04/05/11 14:44, Agnello George wrote:
if i remvove this line for my script login.pl the web server log gives me
[Wed May 04 19:14:30 2011] [error] [client 192.168.2.94] malformed
header from script. Bad header=
This may be because $evalue !=3 and therefore the if block does not
execute. Y
Remove this line:
print "Content-type: text/html\n\n";
The $cgi->header call is also outputting the HTTP header, but you have
already created it with the line above. That is why you can see the
generated header in your browser.
If $evalue != 3 you may want to call $cgi->header without the co