Welcome to Geeklog, Anonymous Friday, July 19 2024 @ 09:08 pm EDT

Geeklog Forums

Use Sitename if no LOGO image

Page navigation

Status: offline


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

Text Formatted Code

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?


This is the place of my logo:

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

All times are EDT. The time is now 09:08 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content