On my website, I am making an HTML form that someone would fill out to request a custom-made operating system. (My friend and I take requests for custom operating systems and I wanted to make a form that someone could use to request an OS) I once made a test form. This is the email that it sent me:
name=test
[email protected]
comment=This is a test email.
Submit=Submit
Look at this. New lines, spaces in-between words, and special characters are shown correctly.
Now look at the output for the form used to request OSes:
username=Aaron&useremail=acrennie%40gmail.com&osname=Testing+This+Form&osdescription=Just+testing+this+form+%3A3+%0D%0A&ostype=kde&logo=AdviceBackground.png&wallpaper=AdviceBackground.png&includepkgs=Packages+and+stuffz+%3AP&publishtogallery=yes
This is formatted for putting in a URL. Why is it like this? I used the exact same parameters for this one as I did for my old test form.
If you need it, here is the source code for the form:
<form action="MAILTO:[email protected]" method="post" enctype="multipart/form-data" name="EmailTestForm">
Your Name:<br>
<input type="text" size="20" name="username"><br>
Your Email Address<br>
<input type="text" size="20" name="useremail"><br>
OS Name:<br>
<input type="text" size="20" name="osname"><br>
OS Description:<br>
<textarea name="osdescription" rows="10" cols="40" wrap="physical"></textarea><br>
Select a desktop interface:<br>
<select name="ostype">
<option value="noneselected">Select an interface</option>
<option value="jeos">Just Enough OS</option>
<option value="kde">K Desktop Environment (KDE)</option>
<option value="gnome">Gnome Desktop Environment</option>
<option value="server">Server (Text-Only)</option>
<option value="minimalx">Minimal X (IceWM)</option>
</select><br>
Add a logo:<br>
<input name="logo" type="file" /><br>
Add a wallpaper:<br>
<input name="wallpaper" type="file" /><br>
If no logo or wallpaper added, the standard SuSE logo and/or wallpaper will be used.<br><br>
List the packages wanted here. Remember, this is a SuSE OS, so make sure the packages you are listing are SuSE-compatible.<br>
<textarea name="includepkgs" rows="10" cols="40" wrap="physical"></textarea><br>
Do you want this OS to be publicly shown on SuSE Gallery?<br>
<input type="radio" name="publishtogallery" value="yes">Yes
<input type="radio" name="publishtogallery" value="no">No<br>
<input type="submit" value="Send Request"></form>
Sorry, but I do not have the source for my old test form.
My question is, how can I make the OS form output readable, just like the old test form?
(To test this form, go to
http://anova.57o9.org/osform.htm)