Re: Problem with https post using LWP
Denzil Kruse wrote: Hi all, I'm trying send an https post: my $url = https://some.secure.server/secure.dll;; my $ua = LWP::UserAgent-new; # assemble the request # my $request = HTTP::Request-new(POST = $url); $request-content_type('application/x-www-form-urlencoded'); $request-content($content); # send the request and get the result # my $result = $ua-request($request); print $result-as_string; But I'm getting this error: 501 (Not Implemented) Protocol scheme 'https' is not supported Looking on cpan, it looks like you do an https post the same way as a http post, but I must be missing something. Can anyone help? Thanks, Denzil Have you read: http://search.cpan.org/src/GAAS/libwww-perl-5.803/README.SSL And do you have an appropriate SSL interface installed? http://danconia.org -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response
Apache vs Apache2 for CGI Only
I am only doing CGI stuff. Does Apache2 give me anything besides being the latest greatest? I ask because I tend to experiment with other CGI languages and they sometimes do not have Apache2 implementations. Robert -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response
Re: Problem with https post using LWP
Hi Wiggins, Nope, that's all news to me! Thanks for the help, I'll look into it. Denzil --- Wiggins d'Anconia [EMAIL PROTECTED] wrote: Denzil Kruse wrote: snip Have you read: http://search.cpan.org/src/GAAS/libwww-perl-5.803/README.SSL And do you have an appropriate SSL interface installed? http://danconia.org -- __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response
Cookie Problem
Hello, I'm trying to pass a cookie value as a string. IE: $cookie_string = $params-{username}|$params-{password}|$time|$time; $cookie = $cgi-cookie(-name='cookie_name',-value=$cookie_string,-expires='+1y'); But this is the result I get: test22%7C123456%7C1122932023%7C1122932023 I'm trying to eliminate the '%7C' character so it has the pipe '|' character instead. I've tried to do a JOIN: join(\|,$params-{username},$params-{password},$time,$time); same results. Tried to use the unescape($cookie_string), again the same results. Is there a way to pass the cookie string and retain the pipe character '|' without it being changed to the '%7C' character. TIA, -- Mike(mickalo)Blezien =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Thunder Rain Internet Publishing Providing Internet Solutions that work! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response