Posted By


inkdeep on 07/31/08

Tagged


Statistics


Viewed 49 times
Favorited by 0 user(s)

php_inspector_inc.php


/ Published in: PHP
Save to your folder(s)

For when I catch a bad case of stupid and forget how to write simple php and I need to put the training wheels back on.

Drop this in before the closing body tag on a php page to see a list some of what is happening when the page loads.


Copy this code and paste it in your HTML
  1. <code style="display:block;text-align:left;padding-bottom:100px;float:left;clear:both;position:relative">
  2. <pre style="display:block;text-align:left;">
  3. <?= ''.print_r($_REQUEST). print_r($_SERVER) . print_r($_GET) . print_r($_POST) . print_r($_FILES). print_r($_SESSION); ?>
  4. </pre>
  5. </code>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.