Ver Mensaje Individual
  #5 (permalink)  
Antiguo 23/02/2010, 06:08
NickSkp
 
Fecha de Ingreso: febrero-2010
Mensajes: 22
Antigüedad: 14 años, 2 meses
Puntos: 0
Respuesta: Problema con TinyMCE editor

Hola juanquillo gracias por responder , cuando le doy a preview no me sale ningun error y lo estoy enviando por un formulario php que tiene codigo fopen fwrite fclose que crea la web te facilito el codigo .

Código PHP:
Ver original
  1. <?php
  2.  
  3. $edito=$_POST["elm1"];
  4. $code='
  5. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  6. <html xmlns="http://www.w3.org/1999/xhtml">
  7. <head>
  8. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  9. <title>Documento sin t&iacute;tulo</title>
  10. </head>
  11. <body>
  12. '.$edito.'
  13. </body>
  14. </html>
  15. ';
  16.  
  17. $guardar=fopen("beta.html",wb);
  18. fwrite($guardar,"
  19. ".$code."
  20. ".$imgup);
  21. fclose($guardar);
  22. echo "Pagina Web Publicada exitosamente <META HTTP-EQUIV='refresh' CONTENT='1; url=midominio/beta.html'>;";
  23. ?>
Ahi esta el code php