Ver Mensaje Individual
  #6 (permalink)  
Antiguo 12/07/2011, 07:20
charlescuella
 
Fecha de Ingreso: febrero-2009
Mensajes: 489
Antigüedad: 15 años, 3 meses
Puntos: 8
Respuesta: problemas de spam en mi form

Código PHP:
Ver original
  1. <form  action="publicar.php" method="post" enctype="multipart/form-data" name="form" class="general" id="form" style="" onsubmit="return checar();">
  2.         <div id="charLeft"></div>
  3.       <h2>Anuncia ya, Deja tu  ubicacion detalle y dato de contacto en 360 caracteres :)</h2>
  4.       <p>&nbsp;</p>
  5.       <table width="300" border="0" align="center">
  6.   <tr>
  7.     <td width="148"><input name="opcion" type="radio" id="opcion_0" onclick="cambiar_opcion(this)" value="solo texto" checked="checked" />
  8.     Solo Texto</td>
  9.     <td width="136"> <input type="radio" name="opcion" onclick="cambiar_opcion(this)" value="con imagen" id="opcion_1" />
  10.       Con Imagen</td>
  11.   </tr>
  12. </table>
  13.       <span id="sprytextarea1">
  14.       <label for="clasificados"></label>
  15.       <textarea name="clasificado" id="clasificado" cols="20" rows="8">Deshabilitado Temporalmente</textarea>
  16.       <span id="countsprytextarea1">&nbsp;</span><span class="textareaMaxCharsMsg">Exceeded maximum number of characters.</span></span>
  17.      
  18.       <span id="spryselect1">
  19.   <label for="categoria"></label>
  20.   <select name="categoria" id="categoria">
  21.     <option value="">Selecciona tu categoria</option>
  22.     <?php
  23. do {  
  24. ?>
  25.     <option value="<?php echo $row_categorias['categoria']?>"><?php echo $row_categorias['categoria']?></option>
  26.     <?php
  27. } while ($row_categorias = mysql_fetch_assoc($categorias));
  28.   $rows = mysql_num_rows($categorias);
  29.   if($rows > 0) {
  30.       mysql_data_seek($categorias, 0);
  31.       $row_categorias = mysql_fetch_assoc($categorias);
  32.   }
  33. ?>
  34.   </select>
  35.   <span class="selectRequiredMsg">Please select an item.</span></span>
  36.    
  37.       <input style="display:none;" id="imagen" name="imagen" type="file">      
  38.       <input type="submit" value="Publicar Anuncio">
  39.   </form>

ese es el codigo del form

actualmente el action="publicar.php" esta en blanco en ves de publicar.php
__________________
sitios
www.avisoya.com
www.yavendi.com