Location: PHPKode > scripts > CSP Filter > csp-filter/ifobtest.php
if (isset($_GET['type'])) {
   $foo = strtolower($_GET['type']);
   } else {
   $foo = "iframe";
if (strcmp($foo,"object") == 0) {
   $type = "object";
   } else {
   $type = "iframe";
<h1>This is an <?php echo(ucfirst($type));?></h1>
It looks like you are viewing this page via <a href="README.html" target="_top">README.html</a>, hence you see the contents of an <?php echo($type);?>. If viewing this page via <a href="index.php" target="_top">index.php</a> you should see the children of the <?php echo($type);?> node, not this paragraph.</p>
Return current item: CSP Filter