BBClone absolute reference problem
Posted: Sun Aug 21, 2005 12:16 pm
I am trying to install BBClone on to my domain. I am having trouble with the absolute reference needed in index.php.
I am getting the following error when trying to execute the below code.
Thanks
JCART | Please use
I am getting the following error when trying to execute the below code.
Does anyone know what is happening here? Code was taken directly from BBClone website.Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in /usr/local/psa/home/vhosts/rrbltd.com/httpdocs/bbclone/index.php on line 18
Code: Select all
<?php
/* This file is part of BBClone (The PHP web counter on steroids)
*
* $Header: /cvs/bbclone/index.php,v 1.8 2005/04/03 20:26:35 olliver Exp $
*
* Copyright (C) 2001-2004, the BBClone Team (see file doc/authors.txt
* distributed with this library)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* See doc/copying.txt for details
*/
echo "<?php\n"
."define("_BBCLONE_DIR", ""
.dirname(__FILE__)."/");\n"
."define("COUNTER", _BBCLONE_DIR.""
."mark_page.php");\n"
."if (is_readable(COUNTER)) include_once(COUNTER);\n"
."?>\n";
// Default output.
if (is_readable("show_global.php")) include_once("show_global.php");JCART | Please use
Code: Select all
tags when posting php code. Review [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]