Hola parece que yo tengo el mismo problema que tú. He quitado todos las lineas en blanco pero me sigue dando error.
Pego los errores:
Cita: Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /var/www/inmobiliaria/introducir.php:10) in /var/www/inmobiliaria/introducir.php on line 34
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /var/www/inmobiliaria/introducir.php:10) in /var/www/inmobiliaria/introducir.php on line 34
Y pego el código:
Código PHP:
<html>
<head>
<TITLE>lalala</TITLE>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" >
</head>
<body style="font-family :Verdana; font-size:15px;">
<table width="760" border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td colspan="2" width="760" height="100" valign="top">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" id="inmobiliaria" width="760" height="100">
<param name="movie" value="inmobiliaria.swf">
<param name="bgcolor" value="#999999">
<param name="quality" value="high">
<param name="allowscriptaccess" value="samedomain">
<embed type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" width="760" height="100" name="inmobiliaria" src="inmobiliaria.swf" bgcolor="#999999" quality="high" swLiveConnect="true" allowScriptAccess="samedomain"></embed>
</object>
</td>
</tr>
<tr>
<TD width="760" height="65">
<OBJECT ID=macro-style classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH=760 HEIGHT=65 STYLE="">
<PARAM NAME="flashvars" value="Copyright=[www.dreamingsoft.com]">
<PARAM NAME="movie" VALUE="menuhoriz.swf">
<PARAM NAME="menu" VALUE="false">
<PARAM NAME="quality" VALUE="best">
<PARAM NAME="scale" VALUE="noscale">
<PARAM NAME="salign" VALUE="LT">
<PARAM NAME="wmode" VALUE="window">
<param name="bgcolor" value="#72828B">
<EMBED src="menuhoriz.swf" menu="false" quality="best" scale="noscale" salign="LT" WIDTH=760 HEIGHT=65 bgcolor="#72828B" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>
</OBJECT>
</TD>
</tr>
<?php session_start();?>
<tr>
<td bgcolor="#72828B">
<form name="f1" action="introduciendo.php" method="POST" enctype="multipart/form-data">
<Table align="center">
<TR><TD width="180"><label>Operación</label></TD>
<TD width="400"><SELECT name="operacion">
<OPTION value="venta">Venta</OPTION>
<OPTION value="alquiler">Alquiler</OPTION>
</SELECT></TD></TR>
<tr><TD><label>Tipología del inmueble</label></TD>
<TD><SELECT name="tipo" >
<OPTION value="null">Selecionar...</OPTION>
<OPTION value="piso">Piso</OPTION>
<OPTION value="casa">Casa</OPTION>
<OPTION value="garaje">Garaje</OPTION>
<OPTION value="local">Local comercial</OPTION>
<OPTION value="oficina">Edificio de oficinas</OPTION>
<OPTION value="industrial">Solar industrial</OPTION>
<OPTION value="hotel">Hotel</OPTION>
<OPTION value="rustico">Rústico</OPTION>
<OPTION value="terreno">Terreno</OPTION>
</SELECT></TD></TR>
<TR><TD><label>Localidad</label></TD>
<TD><SELECT name="localidad">
<OPTION value="null">Selecionar...</OPTION>
<OPTION value="algorta">Algorta</OPTION>
<OPTION value="barakaldo">Barakaldo</OPTION>
<OPTION value="basauri">Basauri</OPTION>
<OPTION value="berango">Berango</OPTION>
<OPTION value="bilbao">Bilbao</OPTION>
<OPTION value="galdakao">Galdakao</OPTION>
<OPTION value="gallarta">Gallarta</OPTION>
<OPTION value="gernika">Gernika</OPTION>
<OPTION value="gorliz">Gorliz</OPTION>
<OPTION value="lasarenas">Las Arenas</OPTION>
<OPTION value="leioa">Leioa</OPTION>
<OPTION value="muskiz">Muskiz</OPTION>
<OPTION value="ortuella">Ortuella</OPTION>
<OPTION value="portugalete">Portugalete</OPTION>
<OPTION value="santurtzi">Santurtzi</OPTION>
<OPTION value="sestao">Sestao</OPTION>
<OPTION value="sopelana">Sopelana</OPTION>
<OPTION value="sopuerta">Sopuerta</OPTION>
<OPTION value="trapagaran">Trapagarán</OPTION>
<OPTION value="zierbena">Zierbena</OPTION>
<OPTION value="zorroza">Zorroza</OPTION>
</SELECT>
<BUTTON onmousedown="introdlocalidad();">Otra</BUTTON></TD>
</TR>
<TR><TD><label>Dirección:</label></TD>
<TD> <INPUT type="text" name="direccion"></td>
</tr>
<TR><TD><label>Metros cuadrados:</label></TD>
<TD> <INPUT type="text" name="metros" onblur="comprobarn(document.f1.metros.value,'metros')">m<SUP>2</SUP></TD>
</tr>
<TR><TD><label>Habitaciones:</label></TD>
<TD> <INPUT type="text" name="habitaciones" onblur="comprobarn(document.f1.habitaciones.value,'habitaciones')"></td>
</tr>
<TR><TD><label>Baños:</label></TD>
<TD> <INPUT type="text" name="banyos" onblur="comprobarn(document.f1.banyos.value,'banyos')"></td>
</tr>
<TR><TD><label>Calefacción:</label></TD>
<TD><SELECT name="calefaccion">
<OPTION value="null">Selecionar...</OPTION>
<OPTION value="no">No</OPTION>
<OPTION value="si">Si</OPTION>
</SELECT></TD></tr>
<TR><TD><label>Garaje:</label></TD>
<TD><SELECT name="garaje">
<OPTION value="null">Selecionar...</OPTION>
<OPTION value="no">No</OPTION>
<OPTION value="si">Si</OPTION>
</SELECT></TD></tr>
<TR><TD><label>Ascensor:</label></TD>
<TD><SELECT name="ascensor">
<OPTION value="null">Selecionar...</OPTION>
<OPTION value="no">No</OPTION>
<OPTION value="si">Si</OPTION>
</SELECT></TD></tr>
<TR><TD><label>Precio:</label></TD>
<TD> <INPUT type="text" name="precio" onblur="comprobarn(document.f1.precio.value,'precio')">€</TD>
</tr>
</table>
<table align="center">
<TR><TD width="180"><label>Imagen 1:</label></TD>
<TD width="400"> <INPUT type="file" name="imagen1"></td>
</tr>
<TR><TD><label>Imagen 2:</label></TD>
<TD> <INPUT type="file" name="imagen2"></td>
</tr>
<TR><TD><label>Imagen 3:</label></TD>
<TD> <INPUT type="file" name="imagen3"></td>
</tr>
<TR><TD valign="top"><label>Descripción:</label></TD>
<TD> <TEXTAREA name="descripcion" rows="3" cols="30"> </TEXTAREA></td>
</tr>
</table>
<br>
<center><input type="submit" value="Envíar"></center>
<br><br>
</form>
</td>
</tr>
<TR bgcolor="#99cccc" ><TD>
<table width="760"><TR><TD align="left"> Inmobiliaria lalaa S.A.</TD>
<TD align="center"> Tlfno: 9425632145</TD>
<TD align="right">[email protected]</TD>
</TR>
</table>
</TD></TR>
</table>
</body>
</html>
Yo creo que me pega el warning en la linea 10 porque en el editor de textos que utilizo no cabe en un linea y salta a la siguiente. Es una razón un poco tonta pero es la unica explicación que le veo después de haber hecho muchas pruebas.
A ver si me podeis ayudar.
Gracias.