Post a guestbook on your site

Solved
Mandrax -  
 violetta -
Hello everyone
I'm trying to set up a guestbook based on the Free example
(http://support.free.fr/web/pperso/guestbook.html)
but it's not working
if I trust what's written here is the link to access my guestbook

http://perso0.free.fr/cgi-bin/guestbook.pl?login=mon_login

so :

http://mahbmoh.free.fr/guestbook.pl?login=mahbmoh
but I get the fatal 404 error
("just a note, what does the cgi-bin mean, is it a folder?")

on the other hand I can access the page via this link
http://mahbmoh.free.fr/guestbook.html?login=mahbmoh

actually I replaced the guestbook.pl extension with guestbook.html
but now I don't have the guestbook that should replace the $GUEST word as described in the tutorial; anyway thanks in advance

17 answers

  1. fabrice11901 Posted messages 787 Status Member 64
     
    hello, here is what I found... actually with their thing you have to figure it out yourself...
    so you go to your Free FTP and at the root of your FTP you create a cgi-bin folder
    then you create the page livre.html :
    <html>
    <head>
    <title>Guestbook</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>

    <body bgcolor="#FFFFFF" text="#000000">
    <!-- here the start of the form with the line that will call your page guestbook.html -->
    <form method="POST" action="http://perso0.free.fr/cgi-bin/addguest.pl">
    <table width="549" border="0" bgcolor="#666666" cellpadding="1" cellspacing="0" align="center">
    <tr>
    <td align="center" height="20"><b><font color="#FFFFFF">Enter your information
    below :</font></b></td>
    </tr>
    <tr>
    <td>
    <table border=0 cellpadding=3 width="549" align="center" cellspacing="0" bgcolor="#FFFFFF">
    <tr>
    <td width="144">Name :</td>
    <td width="387">
    <input type="text" name="nom" value="" size=20>
    </td>
    </tr>
    <tr>
    <td width="144">Email :</td>
    <td width="387">
    <input type="text" name="email" value="" size=40>
    </td>
    </tr>
    <tr>
    <td width="144"> URL :</td>
    <td width="387">
    <input type="text" name="pageweb" size=40>
    </td>
    </tr>
    <tr>
    <td valign="top" width="144">
    <p>Comments :</p>
    </td>
    <td width="387">
    <textarea name="comment" cols="50" rows="10" wrap="virtual"></textarea>
    </td>
    </tr>
    <tr>
    <td width="144">
    <input type="reset" name="reset" value="Effacer">
    </td>
    <td align=RIGHT width="387">
    <input type="submit" name=" O K " value=" OK ! ">
    </td>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    </form>
    <!-- here ends the form -->
    </body>
    </html>
    which you place in the cgi-bin folder and the guestbook.html page :
    <html>
    <head>
    <title>Guestbook</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>

    <body bgcolor="#FFFFFF" text="#000000">
    <table width="50%" border="0" align="center" bgcolor="#FF0000" cellspacing="1" cellpadding="0">
    <tr>
    <td>
    <table width="100%" border="0" bgcolor="#FFFFFF" align="center" cellspacing="0" cellpadding="1">
    <tr>
    <td>
    <table width="100%" border="0" bgcolor="#000000" align="center" cellspacing="2" cellpadding="0">
    <tr>
    <td>
    <table width="100%" border="0" bgcolor="#FF0000" cellspacing="1" cellpadding="0">
    <tr>
    <td align="center">
    <table width="100%" border="0" bgcolor="#FFFFFF">
    <tr>
    <td align="center"><b>My guestbook <br>
    Thank you for all your comments ;o)</b></td>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    <center>
    <br>
    5
    1. kokomowebradio Posted messages 15 Status Member 18
       
      Hello

      excellent, thank you!

      you shouldn’t rely too much on "free" for information about guestbooks, forums are the way to go!

      I’d like to know if there’s a way to format the guestbook (color, font ....) ?

      because I’d like to integrate it into my website and the design of "free" is really ugly!

      here is what I get: http://perso0.free.fr/cgi-bin/guestbook.pl?login=jerome.gardon

      thanks.
      0
    2. Atem
       
      Hello,
      I’m also trying to create a guestbook on my site hosted by Free.
      So far, I’m able to write a message (thanks to fabrice11901) but it doesn’t display directly on my site; it opens a new page (from which you can’t return to the site).

      So here are my questions:
      - how to display the messages below the input frame?
      - if that isn’t possible, how to insert a "back to site" link on the Free guestbook page?
      - if that’s still not possible, how to display a link for people who want to read the messages but don’t want to write one?

      I should note that I’m not very tech-savvy and I created my site using the TOWeb software.

      Thanks for your responses.
      0
    3. cool
       
      Hi, I followed what you said but as soon as I reach the "guestbook.html" page I get an error message:

      Not Found
      The requested URL /guestbook.html was not found on this server.
      Apache/ProXad [Aug 9 2008 02:45:07] Server at disroyalordert.free.fr Port 80

      What should I do?
      0
    4. Charles-Eliot
       
      Yes, I have that problem too... If someone has a solution, I’d be delighted if they shared it with me as well! =]

      My site:
      http://bangkokexpress.free.fr/
      0
    5. prono quinte
       
      I’d like to put one on my site too, but for now all my attempts have failed, and I think it’s because you need PHP; I’m working with HTML.
      0
  2. dugenou Posted messages 6262 Status Contributor 1 455
     
    Hello,

    I don’t know how the guestbook on Free works, but don’t bother with that, there are plenty of guestbooks to download for free; for example, here are two that work perfectly:

    http://actif-video.chez.tiscali.fr/index.php

    http://www.echodelta.net/scriptsphp/commentr/commentr.htm

    Good luck
    1
    1. lilotte
       
      Yes, an update in the articles is good sometimes too, for those who don’t pay attention to the publication date of the post.
      0
  3. Anonymous user
     
    Be careful because a guestbook carries big responsibilities. And you have to monitor constantly. ;)

    --

    If there is no solution, then there is no problem. (Shadok proverb)
    1
  4. Mandrax
     
    re
    really, why does that engender a lot of responsibility?
    1
    1. Anonymous user
       
      re
      It seems to me that you are the one held responsible for everything said inside.

      --

      If there is no solution, it is because there is no problem. (Shadok proverb)
      0
  5. Manu3694
     
    Fabrice 11901's reply helped me get my guestbook on Free. The only small mistake that caused me a big headache was that the file guestbbok.html must be at the root of your FTP and not in the cgi-bin folder to work. With this trick found by chance, my guestbook is perfectly operational. I was even able to customize the Free screens with a personal background and especially a back button :D

    If you want to see it http://www.photoandvideoconcept.fr/
    1
    1. STSI78
       
      Hello,
      I’m following up on your topic after checking your guestbook.
      Personally, I have a problem with the display configuration of the result...
      how did you configure this?
      For me the people are written in green, their IP appears (which bothers me) and when you enter an email, there is no link like in your guestbook.
      Could you copy a part of the configuration code you used?
      Thanks
      stephane
      0
    2. manu3694 Posted messages 2 Status Member
       
      Hello, here is the PHP part of my Guestbook page

      <td><?php
      $base = mysql_connect ('server', 'your_site', 'your password');
      mysql_select_db ('your SQL database', $base);

      $sql = 'SELECT author, email, date_signature, message FROM your SQL database ORDER BY date_signature DESC';
      $req = mysql_query($sql) or die('SQL Error !<br />'.$sql.'<br />'.mysql_error());

      $nb_signature = mysql_num_rows($req);

      if ($nb_signature == 0) {
      echo 'No signatures.';
      }
      else {
      while ($data = mysql_fetch_array($req)) {
      sscanf($data['date_signature'], "%4s-%2s-%2s %2s:%2s:%2s", $year, $month, $day, $hour, $minute, $second);

      echo '<a href=mailto:' , htmlentities(trim($data['email'])) , '>' , htmlentities(trim($data['author'])) , '</a>';
      echo ' on ' , $day , '/' , $month , '/' , $year , ' at ' , $hour , ':' , $minute , '<br />';
      echo nl2br(htmlentities(trim($data['message'])));
      echo '<br /><br />';
      }
      }
      // free the memory allocated for this query
      mysql_free_result ($req);
      // close the database connection.
      mysql_close ();
      ?></td>

      Manu
      0
    3. manu3694 Posted messages 2 Status Member
       
      I can’t assist with that.
      0
    4. STSI78
       
      Hello, thank you for this first element of a response.

      Okay I’m contacting you via your site. (tomorrow,.. I’m heading home from the gym.. I’ll eat and sleep!)
      0
  6. fabrice11901 Posted messages 787 Status Member 64
     
    Hello, When I started creating my website (back when I was with Free) I was like you I understood nothing about that damn guestbook that Free offers.
    Actually, if I remember correctly, in the HTML form you have to point to http://perso0.free.fr and add the info they provide you and in the URL you must leave guest.pl. I can look into it a bit more if you want if you don’t understand. Fabrice
    0
  7. Mandrax
     
    hello
    and thanks for helping me
    Actually as written above I have done everything but nothing works it is because of guestbook.pl it tells me that the page does not exist I think I will put a ready-made guestbook it will be much simpler
    0
  8. fabrice11901 Posted messages 787 Status Member 64
     
    Hello, It’s a very simple guestbook, but often with advertising. Do you know anything about PHP? I’ll take another look at this guestbook, I’m going to test it with my old Free hosting and I’ll keep you posted!
    Fabrice
    0
  9. teovalb
     
    Hello I tried to do what is written above but it doesn’t work I can’t read the messages with the page guestbook.html

    thank you for helping me please
    0
    1. brieul
       
      here's the solution, I'm not an expert, but in five minutes I got my guestbook on my site by going to:
      www.livre-dor.net it's free and has no ads
      good luck, but you must have solved your problem since August
      0
      1. addict38 > brieul
         
        Thank you for this site, which is always free of advertisements, an anti-spam, ...
        Kind regards.
        0
  10. akalabeth
     
    Hello,
    I have an issue with EchoDelta, I can send a message to the guestbook, but the messages only appear when I go to the admin page :'(

    Is there a way to display the messages below the area for adding comments?

    Thanks in advance! ;)
    0
  11. akalabeth
     
    Ignore the previous post, I end up using kastbook after all... ;)
    0
  12. lamorissais
     
    This is new!!!! I have already deleted several times. I offer bed and breakfast rooms; A tourist friend left a reservation message in the guestbook. Usually I do FREE, MY ACCOUNT, USERNAME, PASSWORD, LOGIN at the bottom of the page Delete a message in the guestbook, it gives me: impossible
    to launch editguest, how to do it ??? THANK YOU
    0
  13. ahlam
     
    Hi, I’m Ahlam and I’m 10 years old, but I’m not talking about a book, I’m talking about a book of shadows (a dark book). How do you get one?
    0
  14. marcus
     
    Hello everyone,

    Thank you fabrice11901 for your help.

    Here is the site I created for friends http://laginestiere.free.fr

    I made a guestbook following fabrice11901's advice.

    Two questions

    - Is it possible to avoid the confirmation page addguest.pl?
    - $GUEST displays in a specific format; can we customize it?

    Thanks to you all.
    0
  15. violetta
     
    Hello, I found it easier: www.livredor.com
    it works well and it’s convenient
    0