hi guys,
I'm a little confused, it seems to work without dbname user pass settings on include-whos-online-page.php
http://www.weersverwachtingen.eu/clientraw/wd-ajax-ml/whos-online.php (but not updating ?)
but trying to open the page
http://www.weersverwachtingen.eu/clientraw/wd-ajax-ml/include-whos-online-page.php there's an error:
Error: You need to set the settings for dbname, dbuser, and dbpass for the whos online script to function.
then filling in the user pass etc at include-whos-online-page.php
// Connect to mysql database
$wo_dbh = mysql_connect($C['localhost'], $C['weersxxxxxxxx'], $C['xxxxxxx']);
if (!$wo_dbh) die('Could not connect: ' . mysql_error($wo_dbh));
mysql_select_db($C['whos_online'],$wo_dbh) or die(mysql_error($wo_dbh));
I have a parse error:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /var/www/vhosts/weersverwachtingen.eu/httpdocs/clientraw/wd-ajax-ml/include-whos-online-page.php on line 619
line 619 starts (see att)
does it work not filling in the pass etc at include-whos-online-page.php ?
is it possible to open the include-whos-online-page.php alone ?
if not and fill in the pass etc what's that parse error ')' ?
thnx for the scripts Mike, anyway !