git @ Cat's Eye Technologies The-Dipple / master php / args.php
master

Tree @master (Download .tar.gz)

args.php @masterraw · history · blame

<html>
<!--
SPDX-FileCopyrightText: Chris Pressey, the original author of this work, has dedicated it to the public domain.
For more information, please refer to <https://unlicense.org/>
SPDX-License-Identifier: Unlicense
-->
<h1>ENV</h1>
<ul>
<?php
    foreach (@$_ENV as $k => $v) {
       echo "<li>$k = $v</li>";
    }
?>
</ul>
<h1>GET</h1>
<ul>
<?php
    foreach (@$_GET as $k => $v) {
       echo "<li>$k = $v</li>";
    }
?>
</ul>
<h1>POST</h1>
<ul>
<?php
    foreach (@$_POST as $k => $v) {
       echo "<li>$k = $v</li>";
    }
?>
</ul>
</html>