RE: [PHP-ES] Cargar imagen
| From: | Juan Carlos Madrid López | Date: | Tue, 25 Feb 2003 20:33:21 +0000 |
| Subject: | RE: [PHP-ES] Cargar imagen | ||
| Groups: | php.general.es | ||
| Request: | Send a blank email to general-es+get-33040@lists.php.net to get a copy of this message | ||
Lo que puedes hacer y creo que es lo que quieres es que te devuelva la ruta
en donde esta almacenada dicha imagen en tu server.
Puedes hacer que la función te devuelva toda la etiqueta html (<img
src="ruta a la imagen traída" width="tamaño" height="tamaño">)
<?
$var = CargarImagen.php?id=1;
?>
<html>
<head>
<title>prueba</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<p><?echo $var?></p>
</body>
</html>
-----Mensaje original-----
De: Álvaro Lapacó [mailto:alapaco@mpvision.com.ar]
Enviado el: martes, 25 de febrero de 2003 1:00
Para: lista@phpes.com; jserrano@cutb.cutb.edu.co
Asunto: [PHP-ES] Cargar imagen
Hola a todas/os !
Como puedo hacer para la funcion CargarImagen.php que llamo dentro del
siguiente codigo HTML, me devuelva una imagen ??
Hay alguna funcion que haga esto ?? Alguna libreria ?
"<html>
<head>
<title>prueba</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<p><img src="CargarImagen.php?id=1" width="800"
height="458"></p>
</body>
</html>"
Desde ya, gracias..
---------------------------------------------------------------------
Archivo On-line: http://www.phpes.com/
via news: news://news.phpes.com/
Manual PHP en español: http://www.php.net/manual/es/
Para dar de baja la suscripción, mande un mensaje a:
lista-unsubscribe@phpes.com