Ver Mensaje Individual
  #1 (permalink)  
Antiguo 11/08/2006, 11:20
Avatar de stock
stock
 
Fecha de Ingreso: junio-2004
Ubicación: Monterrey NL
Mensajes: 2.390
Antigüedad: 19 años, 9 meses
Puntos: 53
Pregunta Respuesta extrania

alguien sabe porque el servidor me responde con esto:

Código:
HTTP/1.1 200 OK
Date: Fri, 11 Aug 2006 16:51:48 GMT
Server: Apache/1.3.33 (Darwin) PHP/4.4.1
X-Powered-By: PHP/4.4.1
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Keep-Alive: timeout=15, max=96
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html; charset=iso-8859-1

ddf
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml-strict.dtd">
	
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>ColorOne - Portal Administrativo</title>
<script language="JavaScript" type="text/javascript" src="../common/javascript/prototype.js"></script>

<link href="../common/css/admin.css" rel="Stylesheet" type="text/css" />

<!--[if gte IE 5.5]><![if lt IE 7]>
<style type="text/css">
#menu{
	width:210px;
}
#contenido{
	margin-right:5px;
	height:expression(this.scrollHeight > 650 ? "auto":"650px");
}
</style>
<![endif]><![endif]-->

</head>
<body>

<div id="central">

<div id="superior"></div>

<div id="menu">
<ul>
	<li><a href="servletAction.php?mod=main">Inicio</a></li>
	<li><a href="servletAction.php?mod=producto">Catalogo de Productos</a></li>
	<li><a href="servletAction.php?mod=about">Quienes somos?</a></li>
	<li><a href="servletAction.php?mod=caso">Estudio de casos</a></li>	
	<li><a href="servletAction.php?mod=servicio">Servicios</a></li>
	<li><a href="servletAction.php?mod=texto">Contactanos</a></li>	
	<li><a href="servletAction.php?mod=salir">Salir</a></li>
</ul>
</div>

<div id="contenido">

<div id="mainContenedor">
<h1>Quienes somos</h1>
<h2></h2>

<form action="servletAction.php?mod=about&method=save" enctype="multipart/form-data" method="post">
<input type="hidden" name="idAbout" value="1"  />
<table>
	<caption>Edit Quienes somos</caption>
	<thead>
	</thead>
	<tfoot>
		<tr>
			<td><input class="boton" type="submit" value="save" /></td>
		</tr>
	</tfoot>
	<tbody>
		<tr>
			<td><label>Objetivo</label></td>
		</tr>
		<tr>
			<td><textarea class="campo" name="objetivo" id="objetivo" rows="20">Options, and in the background section (at the bottom of the dialog) choose Picture. Click on the select button and the standard Open dialog will appear in which you can choose the image you’d like to appear as the background of your window. Click OK and that image will appear. Note: This works only when viewing the window in icon view. if you change to list view, the image will no longer be visible.</textarea></td>
		</tr>
		<tr>
			<td><label>Misión</label></td>
		</tr>
		<tr>
			<td><textarea class="campo" name="mision" id="mision" rows="20">Options, and in the background section (at the bottom of the dialog) choose Picture. Click on the select button and the standard Open dialog will appear in which you can choose the image you’d like to appear as the background of your window. Click OK and that image will appear. Note: This works only when viewing the window in icon view. if you change to list view, the image will no longer be visible.</textarea></td>
		</tr>
		<tr>
			<td><label>Visión</label></td>
		</tr>
		<tr>
			<td><textarea class="campo" name="vision" id="vision" rows="20">As long as your Finder window is in icon view, you can add a photo as its background. You do this by going under the View menu, under show View Options, and in the background section (at the bottom of the dialog) choose Picture. Click on the select button and the standard Open dialog will appear in which you can choose the image you’d like to appear as the background of your window. Click OK and that image will appear. Note: This works only when viewing the window in icon view. if you change to list view, the image will no longer be visible.</textarea></td>
		</tr>
		
	</tbody>
</table>
</form>
</div>

</div>

<div id="footer">
</div>

</div>

</body>
</html>


0
en lugar de mostrarme la pagina, el explorador me muestra el texto ese que les puse arriba, alguien tiene alguna idea porque??

ok, esto lo hace justo despues de que visualizo una imagen que extraigo de mi base de datos, la cual extraigo asi:

Código:
if(isset($_GET['id'])) {

    include "../util/conecta.php";
	include "../util/seguridad.php";

    $sql = "SELECT imagen,imagen_type,imagen_peso FROM productos WHERE id_producto='".$_GET['id']."'";

    $rs = mysql_query($sql,$conn);

    $datos = mysql_result($rs,0,"imagen");
	$type = mysql_result($rs,0,"imagen_type");
	$peso = mysql_result($rs,0,"imagen_peso");



    header("Content-type: $type");
    header("Content-length: $peso"); 
    header("Content-Disposition: inline; filename=$nombre"); 
 
   echo $datos;
}
y en mi pagina hago esto:

<a href="getPicture.php?id=20">

la imagen me la muestra bien, pero despues de verla, al dar click sobre cualquier enlace aparece algo como lo que mostre arriba