mirror of
https://github.com/kennethreitz-archive/wordpress-skeleton.git
synced 2026-06-05 23:50:19 +00:00
25 lines
654 B
PHP
25 lines
654 B
PHP
<?php
|
|
// TEST.PHP
|
|
// bundled with HookPress
|
|
// mitcho (code@mitcho.com)
|
|
//
|
|
// test.php is a simple test script which accepts HTTP requests
|
|
// and logs all of the GET and POST parameters accepted. It is useful
|
|
// for debugging requests sent by HookPress and is offered purely
|
|
// as a tool and toy.
|
|
//
|
|
// You can move it to http://localhost/test.php, for example, which
|
|
// is particularly convenient.
|
|
//
|
|
// Make sure that PHP has the ability to create a `test.log` file
|
|
// or else create a blank `test.log` file and make sure PHP is able
|
|
// to write to it.
|
|
|
|
$print = print_r($_REQUEST,true);
|
|
|
|
`echo '$print' >> test.log`;
|
|
|
|
echo array_shift($_REQUEST);
|
|
|
|
|