Ver Mensaje Individual
  #3 (permalink)  
Antiguo 28/03/2010, 17:12
Avatar de ebcmx
ebcmx
 
Fecha de Ingreso: octubre-2009
Mensajes: 9
Antigüedad: 14 años, 7 meses
Puntos: 0
De acuerdo Respuesta: Enviar link, o foto por formulario... funciona pero no muestra la imagen..

Cita:
Iniciado por jcxnet Ver Mensaje
Ya probaste con [URL="http://php.net/manual/en/function.htmlentities.php"]htmlentities[/URL] ?

FORMULARIO
<form name="formulario" method="post" action="111.php" accept-charset="ISO-8859-1" enctype="multipart/form-data">


<div style="margin-top:10px;width:475px">
<textarea name="espacio" id="myspace" rows="30" cols="50" style="width:475px;height:170px"></textarea>
</div>

<p>



<input type="submit" value="enviar">
</form>

Y

Mira este es el codigo que procesa el formulario

<?php
$espacio = $_POST ['espacio'];

$abrir_espacio=fopen("miespacio.php","w+");

fputs($abrir_espacio,"$espacio");

fclose($abrir_espacio); //cierro fotolog

{
header ("Location: colores.php"); }

?>

Gracias por tu mensaje