☺唐鳳☻
and 1 contributors

NAME

CGI::Remote - A CGI module to getting information about the remote user

SYNOPSIS

    #!/usr/bin/pugs
    use v6;
    require CGI-0.0.1;
    require CGI::Remote-0.0.1;
    
    print header;
    
    if (auth_type() eq 'Basic') {
        say "Hello " ~ remote_user() ~ "<BR>";
    }
    else {
        say "Unauthorized Access!!!!<BR>"
    }

DESCRIPTION

This module provides information about the remote user that is using your CGI. It also attempts to provide some useful defaults for debugging.

FUNCTIONS

remote_host returns Str
remote_address returns Str
remote_ident returns Int
remote_user returns Str
auth_type returns Str

AUTHOR

stevan little, <stevan@iinteractive.com>

COPYRIGHT

Copyright (c) 2005. Stevan Little. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://www.perl.com/perl/misc/Artistic.html