Page 1 of 1

txt files open blank

Posted: Wed Aug 31, 2005 3:58 pm
by clawdylawdy
Script URL:
Version of script:
Version of PHP:
Hosting company:
Have you searched THIS FORUM for your problem:
(if not please do before posting)
If so, what terms did you try:

Write your message below:

all of my .txt files for this site open blank, and I can't work out why :? Any ideas? Sorry to bother you

Posted: Wed Aug 31, 2005 7:46 pm
by Klemen
I have no idea what you mean, please give the URL to your script.

Posted: Wed Aug 31, 2005 7:58 pm
by Guest
Klemen Stirn wrote:I have no idea what you mean, please give the URL to your script.
http://dwhitworth.demonweb.co.uk/GBOOK/gbook.php

in the zip file there are 3 txt files, entries, header & footer, and when I click on them, nothing appears. I was just wondering what they were about. I want to add my logo JPEG file to the top of the GBOOK page, but am unsure how to do it

Posted: Wed Aug 31, 2005 9:19 pm
by Klemen
Hi,

You get an empty page because these three files are BLANK files! The header.txt and footer.txt files are for storing header and footer HTML code and the threads.txt file stores guestbook entries.

There has been a lot of talking about editing the look and feel of the guestbook, please read old topics and also related topics in the MBoard forum (it uses the same header/footer princip).

To add a picture to the top of your guestbook your would need to paste the appropriate HTML code into header.txt file, for example:

<p align="center">
<img src="path/to/your/image.jpg">
</p>

Regards