If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Messages posted by: Anonymous
Forum Index » Profile for Anonymous » Messages posted by Anonymous
Author Message
To Anyone who can help me....
I have created my guestbook a while back (about 4 years ago already) I have never had a problem with it until recently. It looks like one of my entries is hacked. I am unable to remember my username and password since I created it so long ago and never had a problem I didn't use them. I thought if I could get into my guestbook as the administrator I could just delete the entry - Problem solved. I am not sure if there is anyone to get my password and username in a secure way or if there is a way to fix this problem with my entry. Any help would be great. I guess a note to self for me would be to write down the passwords or make sure I have them in a good place. Thanks
Hi, I just installed an advanced guestbook on: www.duggleby.info/guestbook

Everything seems to be OK, except for the lack of graphics which show as broken links (x).

I have checked my config files, and the images on the server, and cannot see where the problem is, could you help?

Regards, Greg@duggleby.info
I can't find the addentry.php file either. Wish that query had been answered. I've edited the template/form but can't finish the job. My v 2.3.1 has
admin enter.php and entry.php but no addentry.php. Please help!
Hi,

Imake now a new entry for this post...

I guess this is the place to ask. Sorry for the email to info...

You have made a very nice work with those scripts... putting them under
the gpl license is also very nice from you...
I've been trying to employ your guestbook 1.5 but I have a question and
maybe you can help me: I am not root on the localhost, so that I cannot
create a folder cgi-bin where to put the guestbook.pl like

www.localhost/cgi-bin/guestbook.pl

The only thing I can do is something like

www.localhost/mydirectory/cgi-bin/guestbook.pl

And this seems not to be working. The perl script is called but only in read mode even though I did a chmod uoga+rx guestbook.pl

The place to look at is

http://www.aei.mpg.de/~pau/llibre_fitxers/llibre.html

am I doing something wrong?

thanks,

Pau
Hi,

I guess this is the place to ask. Sorry for the email to info...

You have made a very nice work with those scripts... putting them under
the gpl license is also very nice from you...
I've been trying to employ your guestbook 1.5 but I have a question and
maybe you can help me: I am not root on the localhost, so that I cannot
create a folder cgi-bin where to put the guestbook.pl like

www.localhost/cgi-bin/guestbook.pl

The only thing I can do is something like

www.localhost/mydirectory/cgi-bin/guestbook.pl

And this seems not to be working. The perl script is called but only in read mode even though I did a chmod uoga+rx guestbook.pl

The place to look at is

http://www.aei.mpg.de/~pau/llibre_fitxers/llibre.html

am I doing something wrong?

thanks,

Pau
so?? somebody knows allready?
I have a working poll, let's say ID 5, and that is on a pop up window. That works great. Now what I want to do is, on another page, just have the total vots statistic. I cannot seem to get the php right, actually I don't even know if i can do this. The poll and this separate page with the vote statistic are not linked to gether, they're completely separate from each other. Can anybody help me out here?

Ex:


Total Votes: (number)
no, i'm not a change the code.
yes , the line is $this->db =& $GB_DB; , why about line is error, please give me to answer ?
Finally used an IFRAME (I don't like it ) but it works...
The line in question is $this->db =& $GB_DB;. I'll look into it when I get home.
this error in my guestbook
code:
Parse error: parse error, unexpected '&', expecting T_STRING or T_VARIABLE or '{' or '$' in /home/turtlesj/public_html/dirtydolls/guestbook/lib/mysql.class.php on line 20

Below is a copy of my my sql class file
code:
<?php
/**
* ----------------------------------------------
* Advanced Guestbook 2.3.1 (PHP/MySQL)
* Copyright (c)2001 Chi Kien Uong
* URL: http://www.proxy2.de
* ----------------------------------------------
*/

class gbook_sql {

var $conn_id;
var $result;
var $record;
var $db = array();
var $port;

function gbook_sql() {
global $GB_DB;
$this->db =& $GB_DB;
if(ereg(":",$this->db['host'])) {
list($host,$port) = explode(":",$this->db['host']);
$this->port = $port;
} else {
$this->port = 3306;
}
}

function connect() {
$this->conn_id = mysql_connect($this->db['host'].":".$this->port,$this->db['user'],$this->db['pass']);
if ($this->conn_id == 0) {
$this->sql_error("Connection Error");
}
if (!mysql_select_db($this->db['dbName'], $this->conn_id)) {
$this->sql_error("Database Error");
}
return $this->conn_id;
}

function query($query_string) {
$this->result = mysql_query($query_string,$this->conn_id);
if (!$this->result) {
$this->sql_error("Query Error");
}
return $this->result;
}

function fetch_array($query_id) {
$this->record = mysql_fetch_array($query_id,MYSQL_ASSOC);
return $this->record;
}

function num_rows($query_id) {
return ($query_id) ? mysql_num_rows($query_id) : 0;
}

function num_fields($query_id) {
return ($query_id) ? mysql_num_fields($query_id) : 0;
}

function free_result($query_id) {
return mysql_free_result($query_id);
}

function affected_rows() {
return mysql_affected_rows($this->conn_id);
}

function close_db() {
if($this->conn_id) {
return mysql_close($this->conn_id);
} else {
return false;
}
}

function sql_error($message) {
global $TEC_MAIL;
$description = mysql_error();
$number = mysql_errno();
$error ="MySQL Error : $message\n";
$error.="Error Number: $number $description\n";
$error.="Date : ".date("D, F j, Y H:i:s")."\n";
$error.="IP : ".getenv("REMOTE_ADDR")."\n";
$error.="Browser : ".getenv("HTTP_USER_AGENT")."\n";
$error.="Referer : ".getenv("HTTP_REFERER")."\n";
$error.="PHP Version : ".PHP_VERSION."\n";
$error.="OS : ".PHP_OS."\n";
$error.="Server : ".getenv("SERVER_SOFTWARE")."\n";
$error.="Server Name : ".getenv("SERVER_NAME")."\n";
echo "<b><font size=4 face=Arial>$message</font></b><hr>";
echo "<pre>$error</pre>";
if (eregi("^[_a-z0-9-]+(\\.[_a-z0-9-]+)*@([0-9a-z][0-9a-z-]*[0-9a-z]\\.)+[a-z]{2,5}$", $TEC_MAIL) ) {
$headers = "From: ".$this->db['user']."@".$this->db['host']."\nX-Mailer: Advanced Guestbook 2";
// @mail("$TEC_MAIL","Guestbook - Error","$error","$headers");
}
exit();
}

}

?>
can help me to edit for error
Parse error: parse error, unexpected '&', expecting T_STRING or T_VARIABLE or '{' or '$' in /home/turtlesj/public_html/dirtydolls/guestbook/lib/mysql.class.php on line 20
How do you use a template with a poll? No matter how hard I try, the poll always ends up with the default template

Help!
I tried to install the database version (not by using the cpanel of my host, but by using FTP): there was no difference.
After this, I tried to upload the text version, but it still gives the same problem.

Is it a problem because I don't call the script in the root folder of my website (but in three different subdirectories: one for each language)?
 
Forum Index » Profile for Anonymous » Messages posted by Anonymous
Go to:   
Based on the open source JForum