Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if(!(isset($_GET['first'])) {
- die("<h1>FAIL</h1>");
- }
- if(!(isset($_GET['last'])) {
- die("<h1>FAIL</h1>");
- }
- if(!(isset($_GET['id'])) {
- die("<h1>FAIL</h1>");
- }
- if(!(isset($_GET['salary'])) {
- die("<h1>FAIL</h1>");
- }
- $request = $_GET;
- ?>
- <html>
- <body>
- <?php
- echo <<<EOD
- Hello ${request['first']} ${request['last']}.<br />
- Your Identification Number is ${request['id']},
- and you make \$${request['salary']}.
- EOD;
- ?>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement