Can you use includes?

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
thegrrl
Posts: 6
Joined: Fri Jun 22, 2007 11:36 pm

Can you use includes?

Post by thegrrl »

Script URL: http://silver-charm.org/gb ( i realize it redirects to another url, which is a hosting issue i am looking into)
Version of script: 1.5
Hosting company: tfcph.com
URL of phpinfo.php: http://silver-charm.org/phpinfo.php
URL of session_test.php: http://silver-charm.org/session_test.php
What terms did you try when SEARCHING for a solution: inclusive, include guestbook, php includes

Write your message below:

Hi thank you in advance for reading and helping me. What I'd like to know is how would I go about including my guestbook, with php includes like for example something like this <?php include("{$dir}gbook.php")?> I have no knowledge of php and doing it myself or I would do it. Bu was hoping someone knew how to do that, instead of linking the directory.

I hope i explained myself :)

I did find a post about it, but I'm sorry to say it don't really help me since I don't know what I'm suppose to or that is how to edit to be able to achieve this. This is the post i found viewtopic.php?t=1026&highlight=php+includes
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Unless you know PHP (I see you don't :wink: ) and are able to modify gbook.php to work with your include system (would have to be edited to match your site setup) I don't suggest making any changes to gbook.php and including gbook.php file into other files won't work.

You will need to link directly to gbook.php and use header/footer.txt files to match the look to the rest of your site. A lot has been discussed about how to do that here.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
thegrrl
Posts: 6
Joined: Fri Jun 22, 2007 11:36 pm

Post by thegrrl »

Thank you for the time you too to reply.
Post Reply