-
-
Save tommcfarlin/c531b34a67f2c078f89e to your computer and use it in GitHub Desktop.
A simple way to set a query string flag in order to test coding that's executed on the server.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if ( isset( $_GET['is_test'] ) && 'true' == $_GET['is_test'] ) { | |
// Print out the results of your tests here | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment