LoginSignup
1
0

More than 3 years have passed since last update.

webarenaでubuntu その47

Posted at

概要

webarenaでubuntu18.04やってみた。
apache2.4 php7.2 perl5.26やってみた。
phpのsession cookieをperlで、読んでみた。

サンプルコード

#!/usr/bin/perl
    use CGI;
    print "Content-type: text/html\n\n";
    print "<html>\n";
    $q = new CGI;
    $cookie = $q->cookie('PHPSESSID');
    if ($cookie)
    {
        print $cookie;
    }
    print "</html>\n";

以上。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0