I use a smiley on several webpages, so I thought I could access it from a directory includes.
<img src="<?php include $_SERVER['DOCUMENT_ROOT'] . '/includes/images/smiley1.png' ; ?>" width="100" height="100" alt="smiley here" />
But instead, the smiley shows up as bytes, a long long line of weird characters!
I thought it was magicquotes causing the problem, so I disabled that, but it still shows up the same.
Any tips about what is happening please?