Advertisement
ujiajah1

phpinfo.php

May 22nd, 2016
1,182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.37 KB | None | 0 0
  1. <?php
  2. $viewinfo = $_GET['viewinfo'];
  3.  
  4. if($viewinfo == '1') {
  5. phpinfo();
  6. }else{
  7. ?>
  8. <html>
  9. <head>
  10. <title>Test Page</title>
  11. <meta http-equiv = "Content-Type" >
  12. <head>
  13. <body>
  14. <h2>Welcome!</h2>
  15. <p>this page was generated by APACHE</p>
  16. <p>thank's your visit</p><p>PujiErmanto@Debian7 - 2016
  17. <a href = 'test.php?viewinfo=1'>Click</a>
  18. </body>
  19. </html>
  20. <?php
  21. }
  22. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement