- Messages
- 5,508
- Reaction score
- 35
- Points
- 48
I tried to use:
to include an image because I may change that image someday and I am lazy to edit all files then so I decided to have an include to a document the image is in. The bannertop.html has:
What have I done wrong?
My fault, dreamweaver added wrong path...
PHP:
<?php
include($_SERVER['DOCUMENT_ROOT']."/ufo/includes/bannertop.html");
?>
to include an image because I may change that image someday and I am lazy to edit all files then so I decided to have an include to a document the image is in. The bannertop.html has:
HTML:
<img src="../images/ufo.png" alt="UFO - ARCHIVE" width="468" height="60" longdesc="http://ufo.jagf.net">
What have I done wrong?
My fault, dreamweaver added wrong path...
Last edited: