1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Way Of Allowing Comments On A Website Using PHP?

Discussion in 'PHP' started by bad_bob00, Sep 2, 2007.

  1. #1
    Hi there,

    I've got a website which I would like to allow comments on - the hosting has PHP but no MYSQL databases. Would there be a way around this? I heard that to allow comments on the site I would need PHP and MYSQL...

    Thanks for any help.
    Matt
     
    bad_bob00, Sep 2, 2007 IP
  2. m0nkeymafia

    m0nkeymafia Well-Known Member

    Messages:
    399
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    125
    #2
    The only way without MySql would be to create your own flat file system, not particularily efficient but itll do the job.

    Youll probably want a comments folder, and within that a file for each comments thread that you update using the php file functions.
     
    m0nkeymafia, Sep 2, 2007 IP
    bad_bob00 likes this.
  3. killerj

    killerj Active Member

    Messages:
    765
    Likes Received:
    34
    Best Answers:
    0
    Trophy Points:
    95
    #3
    a) This free guest book script can be added in to any html website with php.
    b) Configurable look and feel.
    c) Option to look/sort the entries in ascending and descending order.
    d) You can view users comments one by one, with previous and next option.
    e) Admin option to login and delete unwanted mails.
    f) Admin can restrict the user by blocking the IP Address.
    g) Admin can stop the filter spam mails which has the specific words.
    h) Admin can enable or disable the display of html tags/taged message.
    i) File based utility. No configurations required.

    http://www.hscripts.com/scripts/php/downloads/HGB_4_0.zip
     
    killerj, Sep 2, 2007 IP
    bad_bob00 likes this.
  4. bad_bob00

    bad_bob00 Active Member

    Messages:
    3,472
    Likes Received:
    56
    Best Answers:
    0
    Trophy Points:
    90
    #4
    Would the messages posted in the guest book get picked up by the search engines? Would it appear as new content on my page?

    Thanks
     
    bad_bob00, Sep 2, 2007 IP
    killerj likes this.
  5. killerj

    killerj Active Member

    Messages:
    765
    Likes Received:
    34
    Best Answers:
    0
    Trophy Points:
    95
    #5
    killerj, Sep 2, 2007 IP
  6. bad_bob00

    bad_bob00 Active Member

    Messages:
    3,472
    Likes Received:
    56
    Best Answers:
    0
    Trophy Points:
    90
    #6
    Thanks again for the links.
    Can I just ask - would I just have a link to the guestbook on my website? Or would the comments automatically appear at the bottom of my pages, with the option for someone to add their comment?

    Thanks
     
    bad_bob00, Sep 2, 2007 IP
  7. killerj

    killerj Active Member

    Messages:
    765
    Likes Received:
    34
    Best Answers:
    0
    Trophy Points:
    95
    #7
    I saw it working on a review website and i haven't actually tried it to tell you that .
    Create a temporary folder and get the hang of how it works before going live with it on your site .
    Good luck . :)

    Edit: If you encounter any problem , come back and post here , i"ll gladly help :)
     
    killerj, Sep 2, 2007 IP
  8. bad_bob00

    bad_bob00 Active Member

    Messages:
    3,472
    Likes Received:
    56
    Best Answers:
    0
    Trophy Points:
    90
    #8
    I don't suppose you have a link to another website which is using the comments/guestbook?

    Thanks for your help :)
     
    bad_bob00, Sep 2, 2007 IP
  9. killerj

    killerj Active Member

    Messages:
    765
    Likes Received:
    34
    Best Answers:
    0
    Trophy Points:
    95
    #9
    that was what i was searching for all this time , it had a link message leading to the script and Thats how i remembered when you said you wanted a flat-file type guestbook script .
    If i find the link , i shall post it here, but i advice you not to wait for it lol. :)
     
    killerj, Sep 2, 2007 IP
  10. bad_bob00

    bad_bob00 Active Member

    Messages:
    3,472
    Likes Received:
    56
    Best Answers:
    0
    Trophy Points:
    90
    #10
    Ahh okay thanks. Anyone else got any other recommendations?

    Is there a way of purchasing a MYSQL database somewhere else and then linking it across to my website? :confused:
     
    bad_bob00, Sep 2, 2007 IP
  11. webrickco

    webrickco Active Member

    Messages:
    268
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    60
    #11
    I believe you would have to install your Mysql database into the core of the server you are hosted in, meaning inside folder you do not have access to. I do not know if there a way to install Mysql inside public folder like yours, but if possible, it would be very unsafe.

    By the way, Mysql is open source and free for non commercial purposes...
     
    webrickco, Sep 3, 2007 IP