I recently installed a forum, and to make the forum fit nicly into my website i had to active something that stops users attachments being displayed on the forum, as it creates the froum to go alot bigger.
What i wanted it to do was to display a link to the attachment and show it. Well it seems to want people to download it insted.
I am wondering if anyone can edit the below code to it will display the attachment in this page insted of trying to download it.
The above code was on a .php file called attach.php