I have a PHP script that's running here:
http://www.x929.com/xupload/index.php where local bands can upload their mp3's to us via this form. However, I want to change the single text box field to individual field for the following info so that a message with this info is sent along with the mp3 attachment.
Fields I'd like to add to this form:
Your Band's name
Your Band's Bio & Credits
Contact Phone #
Website URL
Here is the PHP script/form code:
<link rel=stylesheet href="formstyle.css">
<?
include "config.php";
?>
<title>Local X Music Upload</title>
<body bgcolor="#000000">
<div align=center>
<p class=title>
<img border="0" src="localxrocks_header.gi
f" width="518" height="229"></p>
<form action="mail_module.php" method="post" ENCTYPE="multipart/form-da
ta">
<p><table border=0 width="46%" cellspacing=0 cellpadding=8 bgcolor=gray>
<tr><td bgcolor="#F0F0F0" width="36%" align="right"><b>Your band's e-mail
address</b></td>
<td width="58%" bgcolor="#F0F0F0">
<input class=fi type=text size=46 name=email_from value="<? if($mail_mode==0) echo "anonymous@anonymous-serve
r.com";?>"
?>"?>"?>"?
></td></tr
>
<?
if($mail_mode==0) print("<tr><td bgcolor=\"#F0F0F0\" width=99%><b>TO EMAIL</b></td>
<td width=1% bgcolor=\"#F0F0F0\"><input
class=fi type=text size=40 name=email_to_anonymous><b
r><i>only for testing, please type your real email address</i></td></tr>");
?>
<tr><td bgcolor="#F0F0F0" width="36%" align="right"> </td>
<td width="58%" bgcolor="#F0F0F0">
<input class=fi type=text size=46 name=email_subject value="Local X Music Upload"?></td></tr>
</td></tr></table>
<table border=0 width="46%" cellspacing=1 cellpadding=8 bgcolor=#AED0F2>
<tr><td bgcolor=#F0F0F0>
<p align="center"><b><font size="4">Please Include The Following Below:</font></b><div align="center">
<table border="0" width="27%" id="table1" cellpadding="2">
<tr>
<td>
<div align="center">
<table border="0" width="53%" id="table2" cellpadding="2">
<tr>
<td>
<ul>
<li>
<p align="left"><b><font size="2">Your Band's name</font></b></li>
<li>
<p align="left"><b><font size="2">Your Band's Bio & Credits</font></b></li>
<li>
<p align="left"><b><font size="2">Contact Phone # </font></b>
</li>
<li>
<p align="left"><b><font size="2">Website URL</font></b></li>
</ul>
</td>
</tr>
</table>
<p align="left"><textarea class=fi name=real_email_message cols=86 rows=14 onclick=createCaret(this);
onselect=createCaret(this)
;>
<? if($mail_mode==0) echo "Test message
With blank lines and <b>HTML</b> tags
<hr>
";?>
</textarea></div>
</td>
</tr>
</table>
<p><font color="#FF0000"><b>* MP3 File size must not exceed 6 MB</b></font></div>
</p>
<?
print("
<p><b>Attach your MP3 file</b> <input class=fi type=\"file\" size=40 name=\"upfile\"><br>
<input type=\"hidden\" name=\"MAX_FILE_SIZE\" value=\"$max_size\">
<br><u>");
?>
<p align="center">
<input class=fb type="submit" value="Submit" style="font-size: 8pt; font-family: Verdana; font-weight: bold"></td></tr></table>
</form>
</div>