Menggunakan CGI dengan bahasa Perl
#!/usr/bin/perl
print "Content-type: text/plain\n\n";
for (sort keys %ENV) {
print "$_ = $ENV{$_}\n";
}
Menggunakan PHP
<?
header("Content-Type: text/plain");
print_r($_ENV);
?>
Modified on: Wed, 22 Jul, 2020 at 6:14 AM
#!/usr/bin/perl
print "Content-type: text/plain\n\n";
for (sort keys %ENV) {
print "$_ = $ENV{$_}\n";
}
<?
header("Content-Type: text/plain");
print_r($_ENV);
?>
Did you find it helpful? Yes No
Send feedback