Results 1 to 4 of 4
Hi ,
I'm looking for good guidance on guestbook for html site. Any idea ,how to place a guestbook on a website..
So far, I have created the form(with username,email-id ...
- 10-06-2008 #1
How to create Guest Book ?
Hi ,
I'm looking for good guidance on guestbook for html site. Any idea ,how to place a guestbook on a website..
So far, I have created the form(with username,email-id and comments) and able to add comments and these comments are placed in file called .guest.txt
what should i do with this file now? How to display these comments on web page?

- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------
- 10-06-2008 #2
If you have perl available to you on your web server, you could always create a very simple cgi script. Basically, your script could just read in the info from the local guestbook file you have and print it to HTML, if you know what I mean. Do you have any experience with perl? You really don't need much to make a simple program like this...
Perl CGI Tutorial Overview <-- This is a pretty good perl CGI tutorial. You may find it handy. Let me know if you need any perl help, or if you need guidance writing your cgi script.
Of course, there's more than one way to do it. You could write all kinds of different scripts to accomplish this goal. If you have successfully been able to write guest entries to a file, you may even find a way (the <iframe> tag, maybe?) to directly embed the file in HTML.
Either way, good luck.Registered Linux User: #479567
Asking a question? Read this page first.
Now... sudo make me a sandwich.
ratiocinativeroot.blogspot.com
- 10-07-2008 #3
Yes...the cgi-script is provided the web hosting company.All entries are written into a text file.I think I need to check out how to embed that text file into my HTML pagesIf you have successfully been able to write guest entries to a file, you may even find a way (the <iframe> tag, maybe?) to directly embed the file in HTML.
...thanks for your reply and CGI - perl link
- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------
- 10-08-2008 #4
Besides that <iframe> tag, which may or may not work, you could probably just insert a minimal amount of PHP into your html to read and print out the text file.
Registered Linux User: #479567
Asking a question? Read this page first.
Now... sudo make me a sandwich.
ratiocinativeroot.blogspot.com


Reply With Quote