Post a guestbook on your site
Solved
Mandrax
-
violetta -
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
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
-
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>
-
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. -
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. -
-
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/ -
-
-
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 -
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) -
-
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/-
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 -
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 -
-
-
-
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 -
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 -
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 -
-
-
Take a look at my last message here (the long one)
http://www.commentcamarche.net/forum/affich-1881954-creer-un-site-sans-rien-payer
see you later
--
If there is no solution, there is no problem. (shadok proverb)
-
-
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 -
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! ;) -
-
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 -
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?
-
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. -