mi código es el siguiente:
Código PHP:
define('HTTP_SERVER', 'http://www.dominio.com');
define('DIR_SERVER', '/home/mas8856/public_html/');
$auxp = DIR_SERVER . $fila['imagen'];
echo $auxp;
$auxp = file_exists($auxp);
echo " - " . $auxp . "<br>";
if($auxp)
{
$imgp = HTTP_SERVER . "/" .$fila['imagen'];
}
else
{
$imgp = HTTP_SERVER . "/imagenes/productos/general.jpg";
}
$head->assignGlobal("IMAGEN", $imgp);
el archivo que contiene este código, esta físicamente en en home.
si no usa la url amigable, funciona ok!!!
desde ya muchas gracias!!!