two guestbooks

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • allstars17
    Sergeant

    • Apr 2009
    • 36

    two guestbooks

    is there anyway so i can upload more than one guestbook to my website?
    I published 2 gestbooke on two pages but seems that when someone comment in one of them the comment appeare in both!! how to solve this?
  • navaldesign
    General & Forum Moderator

    • Oct 2005
    • 12080

    #2
    Re: two guestbooks

    Simple.

    Set the two guestbooks to have separate php scripts and separate DB files.

    In example, in the first the php script can be (it is one of the settings) "guestbook1.php" and the text filename: "guestbookdb1.php"

    In the second one use "guestbook2.php" and the text filename: "guestbookdb2.php"


    For security reasons, the text file names SHOULD be something more complicated, in example "guestbookdb_gf5T38ikW.php" or "gbDB_uww9fT3TOl8" . Adding the underscore and the random characters makes it hard to crack.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

    Comment

    • allstars17
      Sergeant

      • Apr 2009
      • 36

      #3
      Re: two guestbooks

      Thank you great naval!!

      Comment

      Working...
      X