Ver Mensaje Individual
  #5 (permalink)  
Antiguo 02/07/2008, 05:12
Lusini
 
Fecha de Ingreso: julio-2008
Mensajes: 84
Antigüedad: 15 años, 10 meses
Puntos: 0
Respuesta: Un problemilla con importancia.

Cuando hago lo del manual me sale el siguiente error:

Warning: chmod(): No such file or directory in /var/www/vhost/ron-be.com/home/html/imgnoticias.php on line 5

El código es:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<? chmod("$imagen1", 0777); ?>
<? chmod("$imagen2", 0777); ?>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>FERIA COFRADE: IMAGEN</title>
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style></head>

<body>

<table width="600" height="400" border="0" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#CCCCCC"><div align="center"><img src='<?php echo "$url"; ?>' border="5"></div></td>
</tr>
</table>
</body>
</html>


Bueno y despues en los archivos (admin.php) no me funciona porque no me da el permiso a la imagen.

A ver si me podeis ayudar :S

Gracias.