Help! Trying to install PHPcow at my webhost ...
Posted: Tue Apr 14, 2009 5:23 pm
I'm at the stage where I have to install the database details, and I get the following message:
Parse error: syntax error, unexpected '{' in /home/vladbour/public_html/yourtopstory/phpcow/cowadmin/siteconfig/commons.php on line 1
The script commons.php itself reads as follows:
<?phpif (eregi("commons.php", $PHP_SELF)) { Header("Location: ../index.php"); die();}define('_HOST', 'localhost');define('_USER', 'vladbour_genius');define('_PASS', 'Tamaris');define('_DBNAME', 'vladbour_PHPcow');
?>
Where is the problem? I'm not computer literate at all, so any help would be brilliant - many thanks!
Parse error: syntax error, unexpected '{' in /home/vladbour/public_html/yourtopstory/phpcow/cowadmin/siteconfig/commons.php on line 1
The script commons.php itself reads as follows:
<?phpif (eregi("commons.php", $PHP_SELF)) { Header("Location: ../index.php"); die();}define('_HOST', 'localhost');define('_USER', 'vladbour_genius');define('_PASS', 'Tamaris');define('_DBNAME', 'vladbour_PHPcow');
?>
Where is the problem? I'm not computer literate at all, so any help would be brilliant - many thanks!