The entries 2004/hibachi and 2005/mynx have unobfuscated code now. 2004/hibachi has a configure script that is used along the lines of the original entry (with some adjustments and fixes) and the hibachi.alt.c had to have ctype.h included too. The directory src/localhost was copied to src-alt/localhost but the rest of src/ was from Anthony. The Makefile had to be updated to build this version. 2005/mynx does have a configure script but it is, just like the original entry, unused and so the unobfuscated (in source-alt/) is also unused. The mynx.alt.c was changed to mynx.alt2.c and the unobfuscated code was made mynx.alt.c. Updated manifest, rebuilt .entry.json and index.html files. After a question is answered and taken care of (in one of 199[1-3]/ant - not sure which one) issue #2513 can possibly be closed as complete (though the manifest updates will have to be looked at more when 2004 and 2005 are reviewed).
69 lines
1.6 KiB
HTML
69 lines
1.6 KiB
HTML
<!DOCTYPE html>
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>
|
|
Hibachi - Form Processing Example in PHP
|
|
</title>
|
|
<meta name="description" content="Form Processing Example in PHP">
|
|
<meta name="keywords" content="IOCCC, 2004/hibachi, from, PHP">
|
|
</head>
|
|
<body style="background-image: url(../../Img/hot-coal-edge-110-indent.png); padding: 0 0 0 10%;">
|
|
|
|
<h2>Form Processing Example in PHP</h2>
|
|
|
|
<p>This example takes the output of a form POST and reformats it from
|
|
its encoded format into human readable output suitable for sending
|
|
by email.
|
|
</p>
|
|
|
|
<hr style="width:10%;text-align:left;margin-left:0">
|
|
|
|
<form method="POST" action="sendform.php">
|
|
<table style="border-spacing: 0; padding: 0; margin-right:auto;">
|
|
<tr style="vertical-align: top;">
|
|
<td style="text-align: right;">
|
|
Who am I?
|
|
</td>
|
|
<td>
|
|
<input name="who" value="Snert" size="24">
|
|
</td>
|
|
</tr>
|
|
<tr style="vertical-align: top;">
|
|
<td style="text-align: right;">
|
|
What am I?
|
|
</td>
|
|
<td>
|
|
<input name="what" value="A sick puppy" size="24">
|
|
</td>
|
|
</tr>
|
|
<tr style="vertical-align: top;">
|
|
<td style="text-align: right;">
|
|
Where am I?
|
|
</td>
|
|
<td>
|
|
<textarea rows="4" cols="20" name="where" wrap="hard">I live in the south of France now.</textarea>
|
|
</td>
|
|
</tr>
|
|
<tr style="vertical-align: top;">
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
<input type="submit" value="SEND">
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
|
|
<hr style="width:10%;text-align:left;margin-left:0">
|
|
|
|
<h3>The above PHP will NOT work on on www.ioccc.org, Sorry!</h3>
|
|
|
|
<hr style="width:10%;text-align:left;margin-left:0">
|
|
|
|
<a href="../../../../index.html">Return to 2004/hibachi</a>
|
|
|
|
</body>
|
|
</html>
|