Ver Mensaje Individual
  #1 (permalink)  
Antiguo 14/06/2011, 02:19
Avatar de syntex
syntex
 
Fecha de Ingreso: noviembre-2002
Ubicación: Cataluña
Mensajes: 978
Antigüedad: 21 años, 5 meses
Puntos: 4
Problemas subir html desde un form

Hola muy buenas,

Tengo un pequeño problema al añadir codigo html desde un formulario.

Tengo este script.

Código PHP:
<input type="hidden" name="youtube_1" value="<?= htmlentities(stripslashes($_POST['youtube_1'])); ?>" />
<input type="hidden" name="youtube_2" value="<?= htmlentities(stripslashes($_POST['youtube_2'])); ?>" />
<input type="hidden" name="youtube_3" value="<?= htmlentities(stripslashes($_POST['youtube_3'])); ?>" />
<table cellpadding="0" cellspacing="0">
    <tr>
        <td rowspan="3">
        <textarea name="youtube_<?= $_SESSION["VideoYouTube"."_Idioma"]; ?>" cols="65" rows="3" /><?= htmlentities(stripslashes($_POST['youtube_'.$_SESSION['VideoYouTube_Idioma']])); ?></textarea>
        </td>
    </tr>
    <tr>
        <td></td>
        <td align="right" width="50"><font color="#000000" style="font-size:11px;">Width:</font></td>
        <td width="5"></td>
        <td><input type="text" name="width" value="<?= htmlentities(stripslashes($_POST['width'])); ?>" size="6" maxlength="6" /></td>
    </tr>
    <tr>
        <td></td>
        <td align="right"><font color="#000000" style="font-size:11px;">Height:</font></td>
        <td></td>
        <td><input type="text" name="height" value="<?= htmlentities(stripslashes($_POST['height'])); ?>" size="6" maxlength="6" /></td>
    </tr>
</table>
Y cuando trabajo en mi local me funciona perfecto, pero cuando trabajo a traves de un servidor me indica esto al realizar la subida de las variables.

Forbidden
You do not have permission to access this document.

Web Server at xxxxxxxxxxxx.com


Muchisimas gracias.
__________________
------------------------------------------------
La paciencia es el rey de la ciencia
------------------------------------------------