Hola a todos,

ya se que seguramente ya han hablado de esto en este forum...necesito si alguien tiene algun script en php con el que pueda enviar un archivo como archivo adjunto a mi mail. Tambien necesitaria las instrucciones de como tendria que 'llevar' los datos desde el html donde esta el formulario hasta el php. Hasta ahora encontre un par de scrips en php pero estos no me dicen como obtener la informacion desde el html. El codigo que ya tengo en html es:

Código :

         <td><form action="validation.php" method="get" id="contact"  > </td>
                </tr>
                <tr>
                  <td colspan="2">&nbsp;</td>
                </tr>
                <tr>
                  <td width="100" valign="top" align="right" nowrap="nowrap" class="txt0"><span class="txt_red">*</span> E-mail:</td>
                  <td><p>
                      <input type="line" name="email" title="Email is not valid" class="required validate-email"  style="WIDTH: 230px" />
                    </p>
                      <p>&nbsp; </p></td>
                </tr>
            <tr>
                  <td width="100" valign="top" align="right" nowrap="nowrap" class="txt0">Project Type:</td>
                  <td><p>
                      <input name="projecttype" class="line" id="projecttype" style="WIDTH: 230px" />
                    </p>
                      <p>&nbsp; </p></td>
                </tr>
                <tr>
                  <td valign="top" align="right" nowrap="nowrap" class="txt0">Description:</td>
                  <td><p>
                      <textarea name="projectdescription" rows="5" class="com" id="projectdescription" style="WIDTH: 230px"></textarea>
                    </p>
                      <p>&nbsp; </p></td>
                </tr>
                <tr>
                  <td width="100" valign="top" align="right" nowrap="nowrap" class="txt0">Upload Files: </td>
                  <td><input name="file" type="file" size="21" />
                  </td>
                </tr>
            <tr>
                  <td height="10" colspan="2"><div align="left">
                 <table border="0" align="left">   
               <tr>
               <td><p>&nbsp;&nbsp;&nbsp;<p> </td>
               <td>
                  <input type="checkbox" name="subscribe" value="yes" id="agree"   /><br />               </td>
               <td valign="left">
                  Please sign me up for your <strong>newsletter</strong> </td>
            </tr>
            </table>   
            </div>
                <tr>
                  <td height="10" colspan="2"><div align="left">
                 <table border="0" align="left">   
               <tr>
               <td><span class="txt_red"> &nbsp;&nbsp;*</span> </td>
               <td>
                  <input type="checkbox" name="agree" value="agree" id="agree" class="validate-one-required" title="You have to agree to the Contest Agreement" /><br />               </td>
               <td valign="left">
                  I've read and agree to the <a href="javascript:var EffectiveNewWin = window.open('http://www.cristalab.com/index.html','_blank','width=590,height=580,scrollbars=1'); EffectiveNewWin.focus();" class="Link_name"> Contest Agreement</a>               </td>
            </tr>
            </table>   
            </div><p>&nbsp; </p></td>
                </tr>
                <tr>
                  <td valign="top" nowrap="nowrap" class="txt0" colspan="2" align="center"><input type="submit" name="Submit" id="Submit" value="Enter the Contest" class="btn" />
                      <p></p></td>
                </tr>
                <tr>
                  <td></FORM></td>






Alguna sugerencia??? gracias!!!!

Gaspar