Status: offline

squatty

Forum User
Full Member
Registered: 01/21/02
Posts: 269
Try this:

Text Formatted Code

<?php
global $_CONF;

$filename = '/var/www/html/internetsider/public_html/layout/CDCblues/images/logo.gif';
if (file_exists($filename)) {
print '<a href="'.$_CONF['site_url'].'/index.php"><img src="$filename" alt="'.$_CONF['site_name'].'"></a>';
} else {
print '<font size="6" color="#BEA982">'.$_CONF['site_name'].'</font>';
}
?>

 


If the above doesn't work, replace the print with echo. This should return the code to your browser. Reply back with what you see.
In a world without walls and fences, who needs Windows and Gates?

CDC

Anonymous
This is the place of my logo:
http://www.internetsider.dk/internetsider/public_html/layout/CDCblues/images/logo.gif

This is what i se when using the code above with and without echo: http://www.internetsider.dk/internetsider/public_html/test-1.jpg

Page navigation