Guest User

Untitled

a guest
Jan 21st, 2018
335
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.78 KB | None | 0 0
  1. <HTML>
  2.  
  3.  
  4. <HEAD>
  5. <TITLE>Home page of the application test scripts</TITLE>
  6. </HEAD>
  7.  
  8.  
  9. <BODY bgcolor=#3CB371>
  10.  
  11.  
  12. <?
  13.  
  14.  
  15. if (isset ($_POST['khopka']))    {
  16.  
  17. $login = $_POST['login'];
  18. $opis = $_POST['opis'];
  19.  
  20. echo "Name - " . htmlspecialchars($login) . '<br />';
  21. echo "Description - " . htmlspecialchars($opis) . '<br />';
  22.  
  23.  
  24. echo "1111";
  25. }
  26. ?>
  27.  
  28.  
  29.  
  30. <form action= "main2.php" method="POST">
  31.  
  32.  <P align="center" >
  33.  <font size=+3  face="Tahoma" > Sending a script to execute  </font>
  34.  </P>
  35.  
  36.  
  37. <HR color=red>
  38.  
  39.  
  40.  <P align="center" >
  41.  <font size=+2  face="Tahoma" > <U>Enter script, a description and your name</U>  </font>
  42.  </P>
  43.  
  44.  
  45.  
  46.  
  47. <TABLE>
  48. <CAPTURE ></capture>
  49.  
  50. <!-- Area for script -->
  51.         <tr valign=top>
  52.            <td>Your script:
  53.      </td>
  54.            <td>
  55.      <textarea name="editor" rows=6 cols=50 style="color: black; background-color: white;">
  56.      </textarea>
  57.    
  58.      </td>
  59.      </tr>
  60. <!-- Field summary -->
  61.         <tr valign=top>
  62.            <td>Brief description (up to 100 characters):
  63.      </td>
  64.            <td>
  65.      
  66.      <textarea maxlength=100 name="opis" rows=3 cols=20>
  67.      </textarea>
  68.      
  69.      </td>
  70.      </tr>
  71. <!-- Field for name -->
  72.  
  73.  
  74.         <tr valign=top >
  75.            <td >Your name:</td>
  76.            <td >
  77.      
  78.      <input type=text name="login"></td>
  79.    
  80.         </tr>
  81. <!-- Send Button -->  
  82.         <tr valign=top>
  83.  
  84.            <td >
  85.      
  86.      <input type=submit value=Send name="khopka"></td>
  87.    
  88.         </tr>
  89. </table>
  90.  
  91.  
  92.    <P align="left" >
  93.    The result of operation will be displayed after you send the dcript to server (correct/incorrect) and is listed in the database!
  94.    </P>
  95.  
  96.  
  97. <HR color=red>
  98.  
  99.   <a href="mailto:igor_1290@mail.ru">Feedback</a>
  100.  
  101.  
  102. </form>
  103. </BODY>
  104.  
  105.  
  106. </HTML>
Add Comment
Please, Sign In to add comment