I have one image in this path: /images/logos/logo.jpg I want to show this logo but does not work. Why? <?php define('APP_BASEDIR', dirname(__FILE__)); define('HTTP_SERVER', 'http://localhost'); // define('DIR_IMAGES', 'images/logos/'); echo DIR_IMAGES.'logo.jpg'; ?> What is my mistake ?
The domain localhost isn't usable on the net. Is that what you're using? That just points back to the visitor's computer.