i have the follow .inc:
<?
function test()
{
print"
<img border=\"0\" src=\"image/bottom/line.jpg\" width=\"998\" height=\"400\">";
}
?>
and the image is saved at http://xxxxx/~xx/image/......
I want to make it the template of my web site.
However, it doesn't work when the pages are in different level of folders.
(ps. i have chage the include path name: e.g ../inc/testing.inc in order to refer to this .inc file. and sure the src="" path is correct with respect to the .inc)
but the code shown in the resulting web pages tell me that the image in the page has refer to an unexisting file. (the web pages wrongly think that the image is also in the same folder with them separately. src=\"mypage/image/bottom/line.jpg\")
why???? .😕
please help me