Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

GuestBook! 1

Status
Not open for further replies.

soonkhoo

Programmer
Dec 8, 2000
133
MY
Hi, How can I create a guestbook from a host provider other than PWS? What am I storing as??

Soon
 
Most guest books are text files that are parsed by the guest book page and displayed. You can use ASP and the TextStream object with the FileSystemObject to write to text files as each person adds entries. Then, your guestbook page can open the text file, separate it out by something (say each new guestbook entry started with a ~~) and then write it out as such.

Your other option would be to use a database and just store the guestbook entries in a table there.

That should get you started. If you need more info., try doing searches for FileSystemObject and TextStream object. Harold Blackorby
hblackorby@scoreinteractive.com
St. Louis, MO
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top