Created
February 24, 2018 17:04
-
-
Save rodrigoSyscop/53f6259a6be9f593fc58e0414a3829a1 to your computer and use it in GitHub Desktop.
framework/index.php
This file contains hidden or 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 // framework/index.php | |
| require_once __DIR__.'/init.php'; | |
| $input = $request->get('name', 'World'); | |
| $response->setcontent(sprintf('Hello %s', htmlspecialchars($input, ENT_QUOTES, 'UTF-8'))); | |
| $response->send(); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment